RE: [PHP-DB] resent: ODBC-Error-function
| From: | Andrew Hill | Date: | Tue, 17 Oct 2000 08:50:24 +0000 |
| Subject: | RE: [PHP-DB] resent: ODBC-Error-function | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3671@lists.php.net to get a copy of this message | ||
Hi Michael,
I don't believe there is currently a PHP function specific for handling ODBC
errors, but a connection error should return a SQLState number that you can
use to get an idea about what is happening.
Hope this helps.
Best regards,
Andrew
----------------------------------------------------
Andrew Hill
Manager Technology Evangelism
OpenLink Software
http://www.openlinksw.com
XML & E-Business Infrastructure Technology Provider
-----Original Message-----
From: mac [mailto:mac]On Behalf Of Michael Howitz
Sent: Tuesday, October 17, 2000 2:17 AM
To: php-db@lists.php.net
Subject: [PHP-DB] resent: ODBC-Error-function
hi!
sorry for the repost, but there was not even one answer.
> is there a function like OCIError for ODBC?
> Or is there something equivalent to get the error code and not only the
> information that the INSERT failed?
added question: if there is no such function, if it planned that there
will be one?
regards,
mac
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net