DROP RULE 中文man页面

系统
DROP RULE 删除一个规则。

NAME

DROP RULE - 删除一个重写规则

SYNOPSIS

DROP RULE name ON relation [ CASCADE | RESTRICT ]

DESCRIPTION 描述

DROP RULE 删除一个规则。  

PARAMETERS 参数

name

 要删除的现存的规则。
relation

 该规则应用的关系名字(可以有模式修饰)。
CASCADE

 自动删除依赖于此规则的对象。
RESTRICT

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

EXAMPLES 例子


 删除重写规则 newrule:

DROP RULE newrule ON mytable;

COMPATIBILITY 兼容性


 在 SQL 标准中没有DROP RULE。  

SEE ALSO 参见

CREATE RULE [create_rule(7)]

#p#

NAME

DROP RULE - remove a rewrite rule

SYNOPSIS

DROP RULE name ON relation [ CASCADE | RESTRICT ]

DESCRIPTION

DROP RULE drops a rewrite rule.  

PARAMETERS

name
The name of the rule to drop.
relation
The name (optionally schema-qualified) of the table or view that the rule applies to.
CASCADE
Automatically drop objects that depend on the rule.
RESTRICT
Refuse to drop the rule if any objects depend on it. This is the default.

EXAMPLES

To drop the rewrite rule newrule:

DROP RULE newrule ON mytable;

COMPATIBILITY

There is no DROP RULE statement in the SQL standard.  

SEE ALSO

CREATE RULE [create_rule(7)]

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

2011-08-24 11:31:47

CREATE RULE中文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:19:14

DROP DOMAIN中文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:28:47

DROP INDEX中文man

2011-08-24 14:22:11

DROP FUNCTI中文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

2011-08-15 10:21:09

man中文man
点赞
收藏

51CTO技术栈公众号