PHP » GoLang |
login |
register |
about
|
GoLang sqlsrv_begin_transaction
request it (334)
GoLang replacement for PHP's sqlsrv_begin_transaction
[edit | history]
sqlsrv_begin_transaction(No version information available, might only be in Git) sqlsrv_begin_transaction — Begins a database transaction Description
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. Return Values
Returns Examples
Example #1 sqlsrv_begin_transaction() example The following example demonstrates how to use sqlsrv_begin_transaction() together with sqlsrv_commit() and sqlsrv_rollback().
<?php The above example will output something similar to: See Also
|
more
Recently updated
more
Most requested
more
Last requests
|