[freetds] Re: Freetds PHP problem

Kelley, Peter Peter at radiator.com
Wed Sep 8 14:08:30 EDT 2004


Hey Daniel,

Thanks for responding.

I am using the same TDS protocol on both servers - 7.  I tried switching to
4.2 and 8 with no change.

I understand I can set ansi_nulls in SQL or on the server itself, but my
preference is consistent behaviour between the two machines.

pk

-----Original Message-----
From: Daniel Fazekas [mailto:fdsubs at axelero.hu]
Sent: Wednesday, September 08, 2004 11:04 AM
To: FreeTDS Development Group
Subject: [freetds] Re: Freetds PHP problem



On Sep 8, 2004, at 19:39, Kelley, Peter wrote:

> After upgrading, accessing MSSQL Server from PHP, the connection 
> settings
> changed.  Specifically ansi_nulls and ansi_warnings were no longer set.

Are you perhaps using a different TDS protocol version in your 
freetds.conf file this time?

Try mssql_query('SET ANSI_NULLS ON', $conn);

--
fds

_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds



More information about the FreeTDS mailing list