note 47387 deleted from function.odbc-exec by didou

From: Date: Sun, 30 Dec 2007 12:20:25 +0000
Subject: note 47387 deleted from function.odbc-exec by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-134279@lists.php.net to get a copy of this message
Note Submitter: Philip_Neeson at Hotmail dot com ---- I kept getting FATAL: emalloc() errors when using select statements via odbc for MS SQL. I had no control over the DB as it is a commercial CRM system. I found that by 1st issuing an SQL query of "set textsize 9999;' within my PHP script is has resolved the issue.. I am running PHP 3.x on a Windows 2000 server that is patched to the max, I spent hours on this one trying diferent ODBC drivers etc and this simple SQL resolved the issue.

« previous php.notes (#134279) next »