drop_type.7

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

7
50
字号
.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.1 $.TH "DROP TYPE" "" "2008-01-03" "SQL - Language Statements" "SQL Commands".SH NAMEDROP TYPE \- remove a data type.SH SYNOPSIS.sp.nfDROP TYPE [ IF EXISTS ] \fIname\fR [, ...] [ CASCADE | RESTRICT ].sp.fi.SH "DESCRIPTION".PP\fBDROP TYPE\fR will remove a user-defined data type.Only the owner of a type can remove it..SH "PARAMETERS".TP\fBIF EXISTS\fRDo not throw an error if the type does not exist. A notice is issued in this case..TP\fB\fIname\fB\fRThe name (optionally schema-qualified) of the data type to remove..TP\fBCASCADE\fRAutomatically drop objects that depend on the type (such astable columns, functions, operators)..TP\fBRESTRICT\fRRefuse to drop the type if any objects depend on it. This isthe default..SH "EXAMPLES".PPTo remove the data type \fBbox\fR:.sp.nfDROP TYPE box;.sp.fi.SH "COMPATIBILITY".PPThis command is similar to the corresponding command in the SQLstandard, apart from the IF EXISTSoption, which is a PostgreSQL extension.But note that the \fBCREATE TYPE\fR commandand the data type extension mechanisms inPostgreSQL differ from the SQL standard..SH "SEE ALSO"CREATE TYPE [\fBcreate_type\fR(7)], ALTER TYPE [\fBalter_type\fR(l)]

⌨️ 快捷键说明

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