QuestionQ248
VerifiedCreating Other Schema ObjectsRefer to the exhibit and examine the structure of the ORD table:
Exhibit:

Evaluate these SQL statements, which execute in the specified order within a user session:
CREATE SEQUENCE ord_seq;
SELECT ord_seq.nextval
FROM dual;
INSERT INTO ord
VALUES (ord_seq.CURRVAL, 25-jan-2007, 101);
UPDATE ord
SET ord_no = ord_seq.NEXTVAL
WHERE cust_id = 101;
What is the outcome of the preceding statements?
Community Discussion