DROP SEQUENCE
Drops a SEQUENCE
(GENERATOR
)
DSQL, ESQL
DROP {SEQUENCE | GENERATOR} seq_name
Parameter | Description |
---|---|
seq_name |
Sequence (generator) name.The maximum length is 63 characters |
The statements DROP SEQUENCE
and DROP GENERATOR
statements are equivalent: both drop (delete) an existing sequence (generator).Either is valid but DROP SEQUENCE
, being defined in the SQL standard, is recommended.
The statements will fail if the sequence (generator) has dependencies.