Re: SQLExtendedFetch

From: Date: Wed, 17 Sep 2008 23:35:30 +0000
Subject: Re: SQLExtendedFetch
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-280420@lists.php.net to get a copy of this message
Liz Kim wrote:
I've posted this already but I thought a new subject might help.. I have a script which connects to a MS SQL database, executes a query then displays the result. There are two identical Apache web servers and one MS SQL database server. When the script is ran on web server #1, all the results are returned correctly. Ran on server #2, however, some entries are missing. Same script, different result.. After looking into the Driver Manager's log and I found that SQLExtendedFetch is being called on server 2 (incomplete result) and SQLFetch on server 1 (correct result). Can someone please tell me when PHP calls SQLExtendedFetch in stead of SQLFetch? How can I configure PHP to use SQLFetch instead? Thanks a lot!
I am guessing wildly here; but have you checked the ODBC versions are the same; and that PHP versions are the same; if not then upgrade faulty servers php/odbc to correct servers version. [googling shows lots of bugs here]

« previous php.general (#280420) next »