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: db2_commit - 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

db2_conn_error" width="11" height="7"/> <db2_columns
Last updated: Fri, 22 Aug 2008

view this page in

db2_commit

(PECL ibm_db2:1.0-1.6.2)

db2_commit トランザクションをコミットする

説明

bool db2_commit ( resource $connection )

指定した接続リソース上で実行中のトランザクションをコミットし、 新しいトランザクションを開始します。PHP アプリケーションのデフォルトは AUTOCOMMIT モードなので、接続リソースに対して AUTOCOMMIT を無効にしていない限り db2_commit() は必要ありません。

注意: 指定した接続が持続的接続であった場合、持続的接続を使用している すべてのアプリケーションで実行中のトランザクションがコミットされます。 そのため、トランザクションが必要なアプリケーションでは 持続的接続の使用は推奨されません。

パラメータ

connection

db2_connect() あるいは db2_pconnect() が返した有効なデータベース接続リソース。

返り値

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



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

db2_conn_error" width="11" height="7"/> <db2_columns
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites