(PHP3 , PHP4 )
int Ora_ErrorCode (int cursor_or_connection)
int Ora_ErrorCode
Returns the numeric error code of the last executed statement on the specified cursor or connection.
Note: Support for connection ids was added in 3.0.4.