top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Oracle: Consider a sequence whose currval is 1?

0 votes
345 views

Consider a sequence whose currval is 1 and gets incremented by 1 by using the nextval reference we get the next number 2. Suppose at this point we issue a rollback and again issue a nextval. What will the output be?

posted Sep 3, 2015 by Viswas Kumar

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer
INCREMENT BY
START WITH
MAXVALUE    | NOMAXVALUE
MINVALUE    | NOMINVALUE
CYCLE   | NOCYCLE
CACHE   | NOCACHE
ORDER   | NOORDER
answer Sep 3, 2015 by Arun Gowda
Similar Questions
0 votes

Consider a sequence whose currval is 1 and gets incremented by 1. by using the nextval reference we get the next number 2. Suppose at this point we issue an rollback and again issue a nextval. What will the output be ?

...