Re: PDOStatement execute memory issue?
| From: | Larry Garfield | Date: | Thu, 27 Sep 2007 04:13:36 +0000 |
| Subject: | Re: PDOStatement execute memory issue? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262507@lists.php.net to get a copy of this message | ||
On Wednesday 26 September 2007, Carlton Whitehead wrote:
> Could this be some bug in the way PHP, PDO, ODBC, and/or MS SQL are
> communicating? Maybe 'image' columns aren't being handled correctly?
> I'm fairly certain my code is correct. I appreciate all of your comments.
>
> Has anyone even tried querying an 'image' type column out of MS SQL 2005
> using PDO ODBC?
>
> Regards,
> Carlton Whitehead
Try isolating the problem. If you have a literal query through PDO that
fails, in isolation, try the same query using the old-skool odbc routines;
just a trivial test script. If that works but the same test script converted
to minimal PDO fails, you've found a bug. If it fails in both cases, I'd
start blaming something else.
--
Larry Garfield AIM: LOLG42
larry@garfieldtech.com ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it." -- Thomas
Jefferson