Re: [PHP-DB] help! sqlserver only returns 256 from varchar types

2002-01-25 Thread Brian Bruns
which library are you using to connect to SQL Server? Is this php running on windows or are you trying from unix? On Fri, 25 Jan 2002, Kevin Won wrote: > I'm having a problem with varchar fields out of mssql which are only returning value >lenghts < = 256 characters. > > I know that the ph

Re: [PHP-DB] Is ODBC now the Native interface for MS-SQL7/2000 ?

2002-02-03 Thread Brian Bruns
Technically, it is not the dblib interface that limits you to 255 character varchars. TDS (tabular datastream, the on the wire protocol) version 4.2 (the version used upto SQL Server 6.5) is limited to a single byte size field and thus 255 characters (0 represents NULL). The problem is that