Removes a sequence from a database.
DROP SEQUENCE name [, ...]
The name of the sequence you wish to permanently remove. You may drop multiple sequences by specifying their names in a comma-delimited list.
The message returned when a sequence is successfully dropped.
ERROR: sequence "
" does not exist
The error returned if the specified sequence
namedoes not exist.
DROP SEQUENCE command to remove a sequence number generator
from a database.
The following example removes a sequence named
from the database:
booktown=# DROP SEQUENCE shipments_ship_id_seq; DROP