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

What are the key differences between SQL and PL SQL?

1211


What are the types of subqueries?

1055


What are the two types of exceptions in pl/sql?

1049


What is scalar function in sql?

1038


Can you do multiple joins in sql?

1050


What is the difference between a primary key and a unique key?

1052


Explian rowid, rownum? What are the psoducolumns we have?

998


What is difference between hql and sql?

1077


What is count * in sql?

993


What are the features of pl sql?

1067


Why function is used in sql?

941


What is right join sql?

964


What is the difference between cluster and non-cluster index?

1106


How do I count rows in sql?

1001


What are all different types of collation sensitivity?

1031