Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how can stop the sequence with mention the max value and
with out mention the max value



how can stop the sequence with mention the max value and with out mention the max value..

Answer / lipika

To create a sequence that stops at a predefined limit, for
an ascending sequence, specify a value for the MAXVALUE
parameter.
For a descending sequence, specify a value for the MINVALUE
parameter. Also specify NOCYCLE. Any attempt to generate a
sequence number once the sequence has reached its limit
results in an error.

NOTE:-Interval between the sequence value must be less than
the difference of MAXVALUE and MINVALUE. If this value is
negative, then the sequence descends. If the value is
positive, then the sequence ascends. If you omit this
clause, then the interval defaults to 1.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What is left join example?

0 Answers  


I have a CURSOR then why we need BULK COLLECT again?

1 Answers  


What is the use of function "module procedure" in pl/sql?

0 Answers  


Is not null in sql?

0 Answers  


What are the dml statements?

0 Answers  


What is sql and its types?

0 Answers  


With out using count() function. How to the find total number of rows in a table?

6 Answers  


What is sql lookup?

0 Answers  


how to increment dates by 1 in mysql? : Sql dba

0 Answers  


Does sql backup shrink transaction log?

0 Answers  


how many columns can be used for creating index? : Sql dba

0 Answers  


How to access the current value and next value from a sequence?

6 Answers  


Categories