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