DROP DOMAINSection: SQL Commands (7)
Index Return to Main Contents
NAMEDROP DOMAIN - remove a domain
DROP DOMAIN [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
- IF EXISTS
- Do not throw an error if the domain does not exist. A notice is issued in this case.
- The name (optionally schema-qualified) of an existing domain.
- Automatically drop objects that depend on the domain (such as table columns).
- Refuse to drop the domain if any objects depend on it. This is the default.
To remove the domain box:
DROP DOMAIN box;
SEE ALSOCREATE DOMAIN [create_domain(7)], ALTER DOMAIN [alter_domain(7)]
This document was created by man2html, using the manual pages.
Time: 05:34:14 GMT, December 24, 2015