statement
DROP TYPE
Removes a user-defined type; dependent objects can block the operation. 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 TYPE nameWorking Example
Example Snippetsql
CREATE TYPE lab_status AS ENUM ('new');DROP TYPE lab_status;