Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: oci_rollback - Manual
[go: Go Back, main page]

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

search for in the

oci_server_version" width="11" height="7"/> <oci_result
Last updated: Thu, 31 May 2007

view this page in

oci_rollback

(PHP 5, PECL oci8:1.1-1.2.3)

oci_rollback — 未解決のトランザクションをロールバックする

説明

bool oci_rollback ( resource $connection )

Oracle 接続 connection に関する 全ての未解決の文をロールバックします。

パラメータ

connection

oci_connect() あるいは oci_pconnect() が返す Oracle 接続 ID。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

注意

注意: トランザクションは接続を閉じたとき、 もしくはスクリプトの終了時のいずれの場合でも すぐに自動的にロールバックされます。 トランザクションをコミットするには oci_commit() をコールする、 もしくはトランザクションを破棄する場合は oci_rollback() を明示的にコールする必要があります。

注意: PHP バージョン 5.0.0 以前では、代わりに ocirollback() を使用しなければなりません。 まだこの名前を使用することができ、下位互換性のため oci_rollback() への別名として残されていますが、 推奨されません。

参考

oci_commit()



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

oci_server_version" width="11" height="7"/> <oci_result
Last updated: Thu, 31 May 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites