DROP SEQUENCE v11

Name

DROP SEQUENCE -- remove a sequence.

Synopsis

DROP SEQUENCE <name> [, ...]

Description

DROP SEQUENCE removes sequence number generators. To execute this command you must be a superuser or the owner of the sequence.

Parameters

name

The name (optionally schema-qualified) of a sequence.

Examples

To remove the sequence, serial:

DROP SEQUENCE serial;

See Also

ALTER SEQUENCE, CREATE SEQUENCE