ora_errorcode
(PHP 4, PHP 5 <= 5.0.5)
ora_errorcode — Gets an Oracle error code
설명
int ora_errorcode
([ resource $cursor_or_connection
] )
Returns the numeric error code of the last executed statement on the specified cursor or connection.
매개변수
- cursor_or_connection
-
An Oracle cursor or connection identifier.
반환값
Returns the error code, as an integer.
변경 기록
버전 | 설명 |
---|---|
5.1.0 | |
3.0.4 | Support for connection identifiers was added. |
주의
권장되지 않는 oracle을 대신하여 oci8를 사용할 때는 다음을 고려하십시오:
- oci_error() (the "code" field of the resulting array)