DBA > Job Interview Questions > DATABASE Administrator (DBA) Interview Questions and Answers

What are the uses of rollback segment?

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

114. What are the uses of rollback segment?

If we find any problem after data manipulation and if we want to undo it, then we can use this ROLLBACK segment.
SAVEPOINT is the command used to save the workdone. After saving data, if we want to perform insertion/deletion and we done it wrongly, then we can ROLLBACK it by using the SAVEPOINT.

Ex:
SAVEPOINT s1;
ROLLBACK s1;

(Continued on next question...)

Other Job Interview Questions