Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam 1z0-071 Topic 2 Question 319 Discussion

Actual exam question for Oracle's 1z0-071 exam
Question #: 319
Topic #: 2
Which statement will return the last sequence number generated by the EMP_ SEQ sequence?

Suggested Answer: B Vote an answer

* A: NEXTVAL is used to increment the sequence and return the next value; it does not give the last number generated.
* B: CURRVAL returns the current value of the sequence, which is the last value generated in the user's current session. However, CURRVAL cannot be queried unless NEXTVAL has been called at least once in that session.
* C: CURRVAL is used correctly, but the syntax 'sequence.CURRVAL' is not correct in Oracle SQL.
* D: NEXTVAL is used to generate the next sequence number, not to retrieve the last one generated.

by hisujata at May 04, 2026, 11:47 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
hisujata
2026-05-04 23:52:05
Selected Answer: C
B is incorrect : In oracle, one must qualify the pseudo-column with sequence name using the format sequence_name.pseudo_column which makes option C correct
upvoted 1 times
...
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.