Which SQL statement will discard both update and delete operations after executing the below SQL statements. Savepoint C1 Delete from hosp Savepoint C2 update hosp set place='Muscat' O a. Rollback to savepoint C2 O b. Rollback to savepoint C1 O c. Rollback O d. Commit

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter5: Data Manipulation And Transaction Control
Section: Chapter Questions
Problem 2MC: Which of the following is a valid SQL statement? SELECT * WHERE amid = ‘J100’ FOR UPDATE; INSERT...
icon
Related questions
Question

SQL

Which SQL statement will discard both update and delete operations after executing the below SQL statements.
Savepoint C1
Delete from hosp
Savepoint C2
update hosp set place='Muscat
O a. Rollback to savepoint C2
O b. Rollback to savepoint C1
O c. Rollback
O d. Commit
Transcribed Image Text:Which SQL statement will discard both update and delete operations after executing the below SQL statements. Savepoint C1 Delete from hosp Savepoint C2 update hosp set place='Muscat O a. Rollback to savepoint C2 O b. Rollback to savepoint C1 O c. Rollback O d. Commit
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Hyperlinks
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning