sqlsrv_rollback

sqlsrv_rollback - Rolls back a transaction that was begun with sqlsrv_begin_transaction
Manual
Code Examples

sqlsrv_rollback( resource$conn ): bool

Rolls back a transaction that was begun with sqlsrv_begin_transaction and returns the connection to auto-commit mode.

Parameters

conn

The connection resource returned by a call to sqlsrv_connect.

Return Values

Returns true on success or false on failure.

Related Functions

Example of sqlsrv_rollback

Show all examples for sqlsrv_rollback

PHP Version: