|
oci_rollbackRolls back the outstanding database transaction Description
bool oci_rollback
( resource
$connection
)
Reverts all uncommitted changes for the Oracle
A transaction begins when the first SQL statement that changes data
is executed with oci_execute using
the When inserting or updating data, using transactions is recommended for relational data consistency and for performance reasons. Parameters
Return Values
Returns Examples
Example #1 oci_rollback example
<?php
Example #2 Rolling back to a SAVEPOINT example
<?php Notes
See Also
|