Skip to Content.
Sympa Menu

freetds - FreeTDS && PHP

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Nil Alexandrov <nil AT internet2.ru>
  • To: <freetds AT franklin.oit.unc.edu>
  • Subject: FreeTDS && PHP
  • Date: Thu, 15 Nov 2001 16:03:49 +0300 (MSK)



Hello !

- FreeTDS(TDSVER=4.2, CVS tds.h.in,v 1.26 2001/09/23 13:20:45)
- PHP(4.0.6)
- MSSQL(2000)


When I use --with-sybase (dblib) I have problem with raiserror() :

$result = @sybase_query("raiserror('error message text',12,1)", $db))
if (! $result)
echo "Error='$php_errormsg'\n";

The variable $php_errormsg containt zero; but when the system error - it's
containt error message (for example sql parse error).


When I use --with-sybase-ct (ctlib) I have problem with varchar/text
longer than 254.
I use varchar(3000) in MSSQL, but when I get this value via FreeTDS - I
use convert(text, filed) - I know this error.


And the last question: 'ext/mssql/*' can be compile only for Windows?

Best regards, Nil.
E-Mail: nil AT internet2.ru





Archive powered by MHonArc 2.6.24.

Top of Page