Re: FreeTDS and PHP: empty strings and NVARCHAR

Ken Collins <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Jul 7, 2011, at 4:50 AM, Frediano Ziglio wrote:

>> 2. The nvarchar_export.patch defines XSYBNVARCHAR in sybdb.h (to use
>> with php).
>> 
> 
> ?? this should be not necessary, our dblib should convert to
> SYBVARCHAR and PHP should be happy with given varchar... If this is
> not true we should fix FreeTDS dblib instead.

Agreed, it should not, I use dblib just fine with the given varchar and it tested with all "chary" data types.

 - Ken
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.