note 69695 added to function.mssql-query
| From: | patrick dot krecker at asu dot edu | Date: | Fri, 15 Sep 2006 21:58:41 +0000 |
| Subject: | note 69695 added to function.mssql-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117231@lists.php.net to get a copy of this message | ||
NOTE that the DB library that is internally driving these functions will NOT return more than 256
characters for data types varchar are char. After SQL Server 7 they allowed for lengths of up to
8000, but never updated the library. This drove me crazy for a day (all other connectivity worked
from Java and C#, just not PHP). So, switch your data type to text if you wish to have lengths more
than 256 characters.
I believe this is not techinically considered a bug; I checked the bug reports section and all
reports on this issue were closed with a message indicating this.
----
Server IP: 66.163.161.117
Probable Submitter: 149.169.178.66
----
Manual Page -- http://www.php.net/manual/en/function.mssql-query.php
Edit -- https://master.php.net/note/edit/69695
Del: integrated -- https://master.php.net/note/delete/69695/integrated
Del: useless -- https://master.php.net/note/delete/69695/useless
Del: bad code -- https://master.php.net/note/delete/69695/bad+code
Del: spam -- https://master.php.net/note/delete/69695/spam
Del: non-english -- https://master.php.net/note/delete/69695/non-english
Del: in docs -- https://master.php.net/note/delete/69695/in+docs
Del: other reasons-- https://master.php.net/note/delete/69695
Reject -- https://master.php.net/note/reject/69695
Search -- https://master.php.net/manage/user-notes.php