PHP. Руководство по PHP. 2005
ora_errorcode
ora_errorcode
(PHP3, PHP4, PHP5)ora_errorcode -- Gets an Oracle error code
Description
int ora_errorcode ([resource cursor_or_connection])
Returns the numeric error code of the last executed statement on
the specified cursor or connection.
Замечание: Support for connection ids was added in 3.0.4.
ora_error
ora_exec