MSSQL varchar fields truncation revisited

From: Date: Wed, 18 Apr 2001 13:45:59 +0000
Subject: MSSQL varchar fields truncation revisited
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-6822@lists.php.net to get a copy of this message
I'm still using 3.0.16 and when you have to display a varchar field in a MSSQL table everything over 255 characters gets truncated (this affects only selects, not inserts). I know that a workaround would be to transform the fieldtype from varchar to text, but this isn't very practical in the particular case. So, does anybody know if the problem still exists in later versions of PHP or has been fixed? Other suggestions and workarounds will be appreciated as well. Andrian

« previous php.windows (#6822) next »