Question: Examine the following statements: INSERT INTO emps SELECT * FROM employees; - - 1 0 7 rows inserted. SAVEPOINT Ins _ Done; CREATE INDEX emp

Examine the following statements:
INSERT INTO emps SELECT * FROM employees; --107 rows inserted.
SAVEPOINT Ins_Done;
CREATE INDEX emp_lname_idx ON employees(last_name);
UPDATE emps SET last_name = 'Smith';
What happens if you issue a Rollback statement?
Group of answer choices
The update of last_name is undone, but the insert was committed by the CREATE INDEX statement.
Both the UPDATE and the INSERT will be rolled back.
The INSERT is undone but the UPDATE is committed.
Nothing happens.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!