On Tue, May 08, 2001 at 03:01:58PM -0700, Robert Mena wrote:
Hi, I am accessing an oracle database from PHP using
stored procedures available.
I'd like to detect when a problem occurs in order to
stop trying to fetch results. In mysql I check for
rc=0 as an error. The php doc does not
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-0 (OCIError() = 0) means the operation completed succesfully.
This may or maynot be
2 matches
Mail list logo