OCIError($stm)
Will tell you if an error has been raised.
The error returned is whatever you asked the Oracle procedure to "raise",
or the error is a positive integer if Oracle raised the error internally

ORA-00000 (OCIError() = 0) means the operation completed succesfully.
This may or maynot be correct if a technically "successful" operation gives
you bad information, which is why I mentioned "raising" an error in the
procedure.

-Mike

>-----Original Message-----
>From: Robert Mena [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, May 08, 2001 6:02 PM
>To: php mailing list
>Subject: [PHP] Detecting error in OCIExecute calls



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to