Microsofts PHP-drivrutin (för referens):http://www .microsoft.com/en-us/download/details.aspx?id=20098
Men om du inte vill (eller kan) ändra drivrutiner, från denna webbplats :
You need to increase the maximum size of a text column to be returned from
SQL Server by PHP. You can do this with a simple SQL query:
SET TEXTSIZE 2147483647
Which you can run with the following PHP (best run just after you make a
connection).
mssql_query("SET TEXTSIZE 2147483647");
A better way to work around the issue is to change the "textlimit" and
"textsize" settings within php.ini, like so:
mssql.textlimit = 2147483647
mssql.textsize = 2147483647
Din MSSQL-drivrutin trunkerar texten. Om du inte kan ändra datatyper, drivrutiner etc. bör detta lösa problemet åt dig.