irm-1.6-b3/MDB/oci8.php
/**
     * Get the native error code of the last error (if any) that
     * occured on the current connection.
     * 
     * @access public 
     * @return int native oci8 error code
     */
Get the native error code of the last error (if any) that
occured on the current connection.

@access public
@return int native oci8 error code
Get the native error code of the last error ( if any ) that occured on the current connection . @access public @return int native oci8 error code
function errorNative($statement = NULL)
    {
        if (is_resource($statement)) {
            $error = @OCIError($statement);
        } else {
            $error = @OCIError($this->connection);
        }
        if (is_array($error)) {
            return($error['code']);
        }
        return(FALSE);
    }
function errorNative ( $ statement = NULL ) { if ( is_resource ( $ statement ) ) { $ error = @ OCIError ( $ statement ) ; } else { $ error = @ OCIError ( $ this -> connection ) ; } if ( is_array ( $ error ) ) { return ( $ error [ 'code' ] ) ; } return ( FALSE ) ; }
Get the native error code of the last error (if any) that
 occured on the current connection.
Get the native error code of the last error ( if any ) that occured on the current connection .