Skip to Content.
Sympa Menu

freetds - Re: 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: Re: FreeTDS && PHP
  • Date: Thu, 15 Nov 2001 18:45:54 +0300 (MSK)



Hello !

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





Archive powered by MHonArc 2.6.24.

Top of Page