GNU/Linux |
CentOS 5.2 |
|
![]() |
drop_domain(7) |
![]() |
DROP DOMAIN − remove a domain
DROP DOMAIN name [, ...] [ CASCADE | RESTRICT ]
DROP DOMAIN will remove a domain. Only the owner of a domain can remove it.
name |
The name (optionally schema-qualified) of an existing domain. |
CASCADE
Automatically drop objects that depend on the domain (such as table columns).
RESTRICT
Refuse to drop the domain if any objects depend on it. This is the default.
To remove the domain box:
DROP DOMAIN box;
This command conforms to the SQL standard.
CREATE DOMAIN [create_domain(7)], ALTER DOMAIN [alter_domain(l)]
![]() |
drop_domain(7) | ![]() |