Warning: file_put_contents(): Only -1 of 55 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
ora_error ora_exec Oracle PHP Manual ora_errorcode (PHP 4, 5 <= 5.0.5) — エラーコードを取得する 説明 int ([ resource $cursor_or_connection ] ) 指定したカーソルまたは接...
Forum und email

ora_errorcode

(PHP 4, PHP 5 <= 5.0.5)

ora_errorcode — Oracle エラーコードを取得する

説明

int ora_errorcode ([ resource $cursor_or_connection ] )

指定したカーソルまたは接続において最後に実行したステートメントの エラーコード番号を返します。

パラメータ

cursor_or_connection

Oracle カーソルあるいは接続 ID。

返り値

エラーコードを整数で返します。

変更履歴

バージョン 説明
5.1.0

oracle 拡張モジュールは非推奨です。かわりに oci8 を使用してください。

3.0.4 接続 ID のサポートが追加されました。

注意

廃止予定の oracle のかわりに oci8 拡張モジュールを用いる場合は、 以下を使用してください。

  • oci_error() (結果の配列の "code" フィールド)