nerdexam
Oracle

1Z0-047 · Question #41

1Z0-047 Question #41: Real Exam Question with Answer & Explanation

The correct answer is C. rows 3 and 4. See the full explanation below for the reasoning.

Question

View the Exhibit and examine the structure of the CUST table. Evaluate the following SQL statements executed in the given order: ALTER TABLE cust ADD CONSTRAINT cust_id_pk PRIMARY KEY(cust_id) DEFERRABLE INITIALLY DEFERRED; INSERT INTO cust VALUES (1 /RAJ1); --row 1 INSERT INTO cust VALUES (1 ,'SAM); --row 2 COMMIT; SET CONSTRAINT cust_id_pk IMMEDIATE; INSERT INTO cust VALUES (1 /LATA1); --row 3 INSERT INTO cust VALUES (2 .KING1); --row 4 COMMIT; Which rows would be made permanent in the CUST table?

Exhibit

1Z0-047 question #41 exhibit

Options

  • Arow 4 only
  • Brows 2 and 4
  • Crows 3 and 4
  • Drows 1 and 4

Community Discussion

No community discussion yet for this question.

Full 1Z0-047 Practice