statement

DROP SEQUENCE

Removes a sequence; dependent defaults or ownership relationships may affect removal. Example target: PostgreSQL 17. Use only the isolated starter dataset; setup and expected results are in the batch evidence.

Formal Syntax & Structure

sql syntaxsql
DROP SEQUENCE name

Working Example

Example Snippetsql
CREATE SEQUENCE lab_seq;DROP SEQUENCE lab_seq;
SQL Reference