Sequence referenced NEXTVAL & CURRVAL pseudocolumns - Oracle Views, Sequences, and Synonyms
Q. A sequence is referenced in SQL statements with the NEXTVAL and CURRVAL pseudocolumns, what can be used in the following places?
1) VALUES clause of INSERT statements
2) The SELECT list of a SELECT statement
3) The SET clause of an UPDATE statement
- Published on 12 Aug 15a. CURRVAL
b. NEXTVAL
c. Both A & B
d. None of the above
ANSWER: Both A & B