DROP SEQUENCE v14

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