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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to call shell script from pl sql procedure?

1247


What will you get by the cursor attribute sql%found?

947


What is update query?

960


What is a common use of group by in sql?

1029


What is trigger price?

961


what are the differences between char and nchar? : Sql dba

1096


What are commit, rollback, and savepoint?

966


What is difference between inner join and self join?

1068


How can we solve sql error: ora-00904: invalid identifier?

1234


how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba

956


What is difference between group by and partition by?

1039


What is set serveroutput on?

1120


what is the command line end user interface - mysql? : Sql dba

964


What is sql*loader and what is it used for? : aql loader

1144


mention if it is possible to import data directly from t-sql commands without using sql server integration services? If yes, what are the commands? : Transact sql

1019