note 95473 deleted from function.mssql-query by danbrown

From: Date: Mon, 04 Jan 2010 22:50:22 +0000
Subject: note 95473 deleted from function.mssql-query by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-164646@lists.php.net to get a copy of this message
Note Submitter: jamon at clearsightdesign dot com ---- I've run into the error: "Unicode data in a Unicode-only collation or ntext data cannot be sent to clients using DB-Library" I'm not using FreeTDS. If you don't want to type-cast your variables and would rather just convert all fields from ntext to something else, like varchar, this script will do the trick. http://www.clearsightdesign.com/free-scripts/ntext-fields-to-varchar/ It will select all ntext fields and attempt to change the data type to whatever you specify. I defaulted it to varchar(1200) but use whatever you want. It will also just generate the SQL queries if you would prefer to run them yourself. - Jamon Holmgren

« previous php.notes (#164646) next »