← Database Management System 🟡 Medium 📋 Sanfoundry

You executed the following SQL statements in the given order: CREATE TABLE orders (order_id NUMBER(3…

Question #1681 of 749+ in Database Management System

📝 Question #1681

You executed the following SQL statements in the given order: CREATE TABLE orders (order_id NUMBER(3) PRIMARY KEY, order_date DATE, customer_idnumber(3)); INSERT INTO orders VALUES (100,'10-mar-2007,,222); ALTER TABLE orders MODIFY order_date NOT NULL; UPDATE orders SET customer_id=333; DELETE FROM order;

⌨️ Press A B C D to select

All Options & Correct Answer

A All the statements before the DELETE statement would be rolled back Correct
B All the statements before the DELETE statement would be implicitly committed within the session
C All the statements up to the ALTER TABLE statement would be committed and the outcome of UPDATE statement would be r
D All the statements up to the ALTER TABLE statement would be committed and the outcome of the UPDATE statement is r

📋 Question Details

🎯
Difficulty
Medium
📅
Year
📋
Source
Sanfoundry

📤 Share This MCQ

📚 Want More?

Practice Database Management System MCQs

749+ questions with detailed answers