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 |
What is indexing in sql and its types?
Does it possible to pass object (or) table as an argument to a remote procedure?
how can we replace the particular column value of a resulted set of executed query? I mean write down a sql query to chane the particular column's value of a resulted set of executed query
What are sql functions? Describe in brief different types of sql functions?
describe transaction-safe table types in mysql : sql dba
Is sql procedural language?
What is sql and explain its components?
using subquery how can i calculate working days in a month?
Delete the emps whose salaries are lowest sals of their own dept.
What is sql*loader?
Explain what is a database?
Which one is faster ienumerable or iqueryable?