DROP DOMAIN 中文man页面

系统
DROP DOMAIN 将从系统表中删除一个用户域。 只有域的所有者才能删除它。

NAME

DROP DOMAIN - 删除一个用户定义的域

SYNOPSIS

DROP DOMAIN name [, ...]  [ CASCADE | RESTRICT ]

DESCRIPTION 描述

DROP DOMAIN 将从系统表中删除一个用户域。 只有域的所有者才能删除它。  

PARAMETERS 参数

name

 一个现有的域(可以有模式修饰)。
CASCADE

 自动删除倚赖域的对象。(比如,表字段)。
RESTRICT

 如果有任何依赖对象存在,则拒绝删除此域。这个是缺省。

EXAMPLES 例子


 删除 box 域∶

DROP DOMAIN box;

COMPATIBILITY 兼容性


 这条命令遵循 SQL 标准。  

SEE ALSO 参见

CREATE DOMAIN [create_domain(7)]

#p#

NAME

DROP DOMAIN - remove a domain

SYNOPSIS

DROP DOMAIN name [, ...]  [ CASCADE | RESTRICT ]

DESCRIPTION

DROP DOMAIN will remove a domain. Only the owner of a domain can remove it.  

PARAMETERS

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.

EXAMPLES

To remove the domain box:

DROP DOMAIN box;

COMPATIBILITY

This command conforms to the SQL standard.  

SEE ALSO

CREATE DOMAIN [create_domain(7)]

责任编辑:韩亚珊 来源: CMPP.net
相关推荐

2011-08-24 11:02:11

CREATE DOMA中文man

2011-08-24 14:13:27

DROP CONVER中文man

2011-08-24 14:31:48

DROP LANGUA中文man

2011-08-24 14:35:33

DROP OPERAT中文man

2011-08-24 14:16:18

DROP DATABA中文man

2011-08-24 14:06:36

DROP AGGREG中文man

2011-08-24 14:10:10

DROP CAST中文man

2011-08-24 14:25:43

DROP GROUP中文man

2011-08-24 14:40:50

DROP RULE中文man

2011-08-24 14:28:47

DROP INDEX中文man

2011-08-24 14:22:11

DROP FUNCTI中文man

2011-08-24 09:22:30

alter_domai中文man

2011-08-24 14:43:21

drop_schema中文man

2011-08-24 14:59:50

drop_user中文man

2011-08-24 14:49:13

drop_table中文man

2011-08-24 15:03:08

drop_view中文man

2011-08-24 14:57:06

drop_type中文man

2011-08-24 14:38:16

DROP OPERAT中文man

2011-08-24 14:46:42

drop_sequen中文man

2011-08-24 14:52:31

drop_trigge中文man
点赞
收藏

51CTO技术栈公众号