top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Oracle: What is a sequence?

0 votes
360 views
Oracle: What is a sequence?
posted Sep 1, 2015 by Vidhya Sagar

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

1 Answer

0 votes

A sequence is an object in Oracle that is used to generate a number sequence. This can be useful when you need to create a unique number to act as a primary key.

Please Refer this for complete understanding

answer Sep 2, 2015 by Manikandan J
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 a rollback and again issue a nextval. What will the output be?

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 ?

...