FreeTDS && PHP
nil at internet2.ru
Thu Nov 15 10:45:54 EST 2001
On Thu, 15 Nov 2001, Darryl Friesen wrote:
> > - 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-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.
> You need to use TDS 7.0 (not 4.2) for varchar and text fields.
I have already tested it, but then we have problem with Russian.
> > And the last question: 'ext/mssql/*' can be compile only for Windows?
> I can use either the sybase_* functions or the mssql_* funtions in PHP
> without problems (Solaris 8 machine). I think both get compiled in when you
> you build PHP with --with-sybase or --with-sybase-ct.
It's impossible to complile with the dblib and ctlib both - do you
understand what are you talking about ?
Best regards, Nil
E-Mail: nil at internet2.ru
More information about the FreeTDS