SELECT last_number FROM user_sequences WHERE sequence_name. SELECT TEMP_YEAR_sEQUENCENEXTVAL FROM DUAL. CREATE SEQUENCE TEMP_YEAR_sEQUENCE START WITH 2008.
That way you can find the sequences for the table column in the dba_sequences view.
Or the sequence number can be referenced in the SET clause of an UPDATE statement. There is no need for a sequence or for a variable in the cursor either. A document sequence uniquely numbers documents generated by an Oracle Fusion application. 111 Introduction to Document Sequences.