drop_cast.7

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

7
49
字号
.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.1 $.TH "DROP CAST" "" "2008-01-03" "SQL - Language Statements" "SQL Commands".SH NAMEDROP CAST \- remove a cast.SH SYNOPSIS.sp.nfDROP CAST [ IF EXISTS ] (\fIsourcetype\fR AS \fItargettype\fR) [ CASCADE | RESTRICT ].sp.fi.SH "DESCRIPTION".PP\fBDROP CAST\fR removes a previously defined cast..PPTo be able to drop a cast, you must own the source or the targetdata type. These are the same privileges that are required tocreate a cast..SH "PARAMETERS".TP\fBIF EXISTS\fRDo not throw an error if the cast does not exist. A notice is issued in this case..TP\fB\fIsourcetype\fB\fRThe name of the source data type of the cast..TP\fB\fItargettype\fB\fRThe name of the target data type of the cast..TP\fBCASCADE\fR.TP\fBRESTRICT\fRThese key words do not have any effect, since there are nodependencies on casts..SH "EXAMPLES".PPTo drop the cast from type \fBtext\fR to type \fBint\fR:.sp.nfDROP CAST (text AS int);.sp.fi.SH "COMPATIBILITY".PPThe \fBDROP CAST\fR command conforms to the SQL standard..SH "SEE ALSO"CREATE CAST [\fBcreate_cast\fR(7)]

⌨️ 快捷键说明

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