Embed presentation
Download to read offline




The NEXTVAL function must be called before CURRVAL to retrieve the next and current values of a sequence. If NEXTVAL is not called first, an error will occur because there is no current value yet. The document also demonstrates creating a sequence with a starting value, decrement, maximum and minimum values, and cycling behavior, and shows that CURRVAL returns an error until NEXTVAL is called to define the current value for that session.


