| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
sqlsrv_begin_transaction(バージョン情報なし。おそらく SVN 版にしか存在しないでしょう) sqlsrv_begin_transaction — Begins a database transaction 説明
bool sqlsrv_begin_transaction
( resource
$conn
)The transaction begun by sqlsrv_begin_transaction() includes all statements that were executed after the call to sqlsrv_begin_transaction() and before calls to sqlsrv_rollback() or sqlsrv_commit(). Explicit transactions should be started and committed or rolled back using these functions instead of executing SQL statements that begin and committ/roll back transactions. For more information, see » SQLSRV Transactions. 返り値
成功した場合に 例
例1 sqlsrv_begin_transaction() example The following example demonstrates how to use sqlsrv_begin_transaction() together with sqlsrv_commit() and sqlsrv_rollback().
<?php 上の例の出力は、 たとえば以下のようになります。 参考
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「sqlsrv_begin_transaction - Begins a database transaction」をGoogle検索
|