statement

DROP DOMAIN

Removes a domain definition; dependent columns can prevent 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 DOMAIN name

Working Example

Example Snippetsql
CREATE DOMAIN lab_int AS INTEGER;DROP DOMAIN lab_int;
SQL Reference