DROP DOMAIN

    Description

    removes a previously defined domain. You must be the owner of a domain to drop it.

    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.

    CASCADE

    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.

    Examples

    Drop the domain named :

    This command conforms to the SQL standard, except for the option, which is a Greenplum Database extension.

    See Also

    Parent topic: SQL Command Reference