RE: [PEAR] MDB : fetch long varchar in mssql

From: Date: Thu, 16 Dec 2004 15:33:06 +0000
Subject: RE: [PEAR] MDB : fetch long varchar in mssql
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16271@lists.php.net to get a copy of this message
OK, I found a solution : IF the RDBMS is MSSQL, I cast the VARCHAR to TEXT This let me keep using a varchar in the database definition (for text search purpose), while getting the full varchar content in my select. bye vincent -----Original Message----- From: Vincent DUPONT Sent: jeudi 16 décembre 2004 16:09 To: pear-general@lists.php.net Subject: [PEAR] MDB : fetch long varchar in mssql Hi, Is there a limit to the number of chars returned by a fetch on a varchar(4000) in MSSQL ?? MDB seem to return only 255 chars. I set the datatype param in the query($query, $datatype) correctly. Is there a limit? is there an option? thank you, Vincent

« previous php.pear.general (#16271) next »