top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

Oracle: Consider a sequence whose currval is 1?

0 votes
38 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 Google+ Share Button LinkedIn Share Button Multiple Social 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 ?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...