ora_errorcode Gets an Oracle error code Description intora_errorcode resourcecursor_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.