In order to undo the work of transaction after last commit which one should be used?

(a) View

(b) Commit

(c) Rollback

(d) Flashback

This question was addressed to me during an interview for a job.

This interesting question is from Transactions topic in portion SQL : Queries, Constraints and Triggers of Database Management

Database Management Sql : Queries in Database Management 3 years ago

  1.69K   0   0   0   0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Right answer is (C) Rollback

Explanation: Rollback WORK causes the current transaction to be ROLLED BACK; that is, it undoes all the UPDATES performed by the SQL statements in the transaction.

Posted on 02 Dec 2021, this text provides information on Database Management related to Sql : Queries in Database Management. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Tuteehub forum answer Answers

Post Answer

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.