|
sqlsrv_commit(Информация о версии неизвестна, возможно, только в SVN) sqlsrv_commit — Commits a transaction that was begun with sqlsrv_begin_transaction() Описание
bool sqlsrv_commit
( resource $conn
)
Commits a transaction that was begun with sqlsrv_begin_transaction(). The connection is returned to auto-commit mode after sqlsrv_commit() is called. The transaction that is committed includes all statements that were executed after the call to sqlsrv_begin_transaction(). 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. Список параметров
Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. Примеры
Пример #1 sqlsrv_commit() example The following example demonstrates how to use sqlsrv_commit() together with sqlsrv_begin_transaction() and sqlsrv_rollback().
<?php Смотрите также
|
|