note 48918 deleted from function.mssql-query by cmb
| From: | cmb@php.net | Date: | Sun, 23 Jun 2019 14:19:05 +0000 |
| Subject: | note 48918 deleted from function.mssql-query by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211361@lists.php.net to get a copy of this message | ||
Note Submitter: warwick dot barnes at aad dot gov dot au
----
Using PHP 4.3.9 and MSSQL Library 7.0, when I try to SELECT text from a column (field) defined as
VARCHAR 8000 I get only the first 255 characters of the text - it's trucated for no apparent
reason.
To get round this I changed the column type from VARCHAR 8000 to TEXT, but then the output was
trucated to 4096 characters.
To fix this I changed two values in PHP.INI:
mssql.textlimit = 16384
mssql.textsize = 16384
Now my text is trucated to 16384 characters, which is big enough for me - but you can apparently use
a value as large as 2147483647.