Definition: The Oracle NEXTVAL function retrieves the next value in a sequence. The NEXTVAL function must be called before calling the CURRVAL function or an exception will be raised. Note that no current value will exist for the sequence unless the Oracle NEXTVAL function has been called at least once.