meta data for this page
  •  

DROP SEQUENCE

Available in: DSQL

Added in: 2.0

Description

Removes a sequence or generator from the database. Its (very small) storage space will be freed for re-use after a backup-restore cycle. SEQUENCE is the SQL-compliant term for what InterBase and Firebird have always called a generator. DROP SEQUENCE is fully equivalent to DROP GENERATOR and is the recommended syntax from Firebird 2.0 onward.

Syntax

DROP SEQUENCE sequence-name

Example

drop sequence seqtest