I fixed this issue by using a text field instead of a varchar field.  For
some reason, it didn't want to read anything over 255 characters, although
the data was still stored.  Maybe it's a bug, or maybe just a limitation.

Ryan


-----Original Message-----
From: Michael Schmidt [mailto:[EMAIL PROTECTED]] 
Sent: Monday, November 12, 2001 8:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Windows, MSSQL varchar>255 caracters?

Hi All.

With the Microsoft SQL Server it is possible to make a table with fields of
the type varchar which can have more then 255 characters width.

When use a query to get the content, i only get the first 255 characters all
others are cut off. (i connect to the DB via the mssql_... commands).

Anyone has a idea how to solve the problem?

Michael



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to