PEAR:DB get the SQL String
| From: | Marco Kundert | Date: | Sat, 13 Dec 2003 14:20:03 +0000 |
| Subject: | PEAR:DB get the SQL String | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9503@lists.php.net to get a copy of this message | ||
Hi all
First of all im verry new with Pear and i'm surre this is e newbi question but i diden't
found something in the manual or the archiv.
I use the folling code to insert a row:
$sth = $db->autoExecute($table_name, $table_fields, DB_AUTOQUERY_INSERT);
With mysql everything works fine, but with sqlserver driver
die ($sth->getMessage());
ouput the folling error:
DB Error:
Thats not mutch. Is there any possibillity to output the genereated SQL String from prepare, execute
or autoexecute, that would be verry usefully.
Thanks Marco