-
Roll Back
hi,
how to use ROLL BACK in SQL query?
plz help me,
thanks in advance.
-
There is no ROLLBACK for a query, it is only for INSERT, UPDATE and DELETEs.
You need
BEGIN TRAN
then based on when you want to roll back, issue
ROLLBACK
If you are using Oracle, BEGIN TRAN is implicit, so you can issue ROLLBACK without BEGIN TRAN in SQL PLus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|