drop_trigger.7

来自「PostgreSQL 8.2中增加了很多企业用户所需要的功能和性能上的提高,其开」· 7 代码 · 共 54 行

7
54
字号
.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.1 $.TH "DROP TRIGGER" "" "2008-01-03" "SQL - Language Statements" "SQL Commands".SH NAMEDROP TRIGGER \- remove a trigger.SH SYNOPSIS.sp.nfDROP TRIGGER [ IF EXISTS ] \fIname\fR ON \fItable\fR [ CASCADE | RESTRICT ].sp.fi.SH "DESCRIPTION".PP\fBDROP TRIGGER\fR will remove an existingtrigger definition. To execute this command, the currentuser must be the owner of the table for which the trigger is defined..SH "PARAMETERS".TP\fBIF EXISTS\fRDo not throw an error if the trigger does not exist. A notice is issued in this case..TP\fB\fIname\fB\fRThe name of the trigger to remove..TP\fB\fItable\fB\fRThe name (optionally schema-qualified) of the table for whichthe trigger is defined..TP\fBCASCADE\fRAutomatically drop objects that depend on the trigger..TP\fBRESTRICT\fRRefuse to drop the trigger if any objects depend on it. This isthe default..SH "EXAMPLES".PPDestroy the trigger if_dist_exists on the tablefilms:.sp.nfDROP TRIGGER if_dist_exists ON films;.sp.fi.SH "COMPATIBILITY".PPThe \fBDROP TRIGGER\fR statement inPostgreSQL is incompatible with the SQLstandard. In the SQL standard, trigger names are not local totables, so the command is simply DROP TRIGGER\fIname\fR..SH "SEE ALSO"CREATE TRIGGER [\fBcreate_trigger\fR(7)]

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?