PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ora_exec> <ora_error
Last updated: Sun, 25 Nov 2007

view this page in

ora_errorcode

(PHP 4, PHP 5 <= 5.0.5)

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.

Parameters

cursor_or_connection

An Oracle cursor or connection identifier.

Return Values

Returns the error code, as an integer.

ChangeLog

Version Description
5.1.0

The oracle extension is deprecated in favor of oci8.

3.0.4 Support for connection identifiers was added.

Notes

When using oci8 as a replacement for the deprecated oracle extension, consider using:

  • oci_error() (the "code" field of the resulting array)



add a note add a note User Contributed Notes
ora_errorcode
There are no user contributed notes for this page.

ora_exec> <ora_error
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites