RE: [PHP-DB] MSSQL Text Length Restriction
| From: | Rich Gray | Date: | Tue, 10 Dec 2002 16:25:34 +0000 |
| Subject: | RE: [PHP-DB] MSSQL Text Length Restriction | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-24015@lists.php.net to get a copy of this message | ||
Adam
IIRC this is a known problem with the native php SQL Server APIs which were built using the original
TDS drivers based on v6.x of SQL Server which did not support NVARCHAR data types... if you
can't change the datatype to TEXT then try a cast. Failing that does it work if you use ODBC
instead?
Rich
-----Original Message-----
From: Adam Voigt [mailto:adam@cryptocomm.com]
Sent: 10 December 2002 15:18
To: php-db@lists.php.net
Subject: [PHP-DB] MSSQL Text Length Restriction
I can't seem to get more then 255 characters to be sent back from a field
in our MSSQL database, unless the fields is a "TEXT" type, which is very
inefficient. Anyone know a fix? (I've already tried modifying the max size
variables in the php.ini under the MSSQL section.)
--
Adam Voigt (adam@cryptocomm.com)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc