October 2002
Beginner
864 pages
18h 41m
English
Rolling back a transaction cancels the entire transaction. But suppose you want to “semicommit” your transaction midway through its statements. Both Sybase and Oracle SQL allow you to save the transaction with a savepoint. From that point on, if a ROLLBACK is issued, the transaction is rolled back to the savepoint. All statements that were executed up to the point of the savepoint are saved. The syntax for creating a savepoint using Oracle SQL is as follows: |
SAVEPOINT savepoint_name;
Sybase SQL Server's syntax to ... |
Read now
Unlock full access