DROP CAST 中文man页面

系统
DROP CAST 删除一个前面定义的类型转换。

NAME

DROP CAST - 删除一个用户定义的类型转换

SYNOPSIS

DROP CAST (sourcetype AS targettype) [ CASCADE | RESTRICT ]

DESCRIPTION 描述

DROP CAST 删除一个前面定义的类型转换。


 要能删除一个类型转换,你必须拥有源或者目的数据类型。 这是和创建一个类型转换相同的权限。  

PARAMETERS 参数

sourcetype

 类型转换里的源数据类型。
targettype

 类型转换里的目的数据类型。
CASCADE
RESTRICT

 这些键字没有任何效果,因为在类型转换上没有依赖关系。

EXAMPLES 例子


 删除从 text 到 int 的转换:

DROP CAST (text AS int);

COMPATIBILITY 兼容性

DROP CAST 遵循 SQL 标准。  

SEE ALSO 参见

CREATE CAST [create_cast(7)]

#p#

NAME

DROP CAST - remove a cast

SYNOPSIS

DROP CAST (sourcetype AS targettype) [ CASCADE | RESTRICT ]

DESCRIPTION

DROP CAST removes a previously defined cast.

To be able to drop a cast, you must own the source or the target data type. These are the same privileges that are required to create a cast.  

PARAMETERS

sourcetype
The name of the source data type of the cast.
targettype
The name of the target data type of the cast.
CASCADE
RESTRICT
These key words do not have any effect, since there are no dependencies on casts.

EXAMPLES

To drop the cast from type text to type int:

DROP CAST (text AS int);

COMPATIBILITY

The DROP CAST command conforms to the SQL standard.  

SEE ALSO

CREATE CAST [create_cast(7)]

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

2011-08-24 14:35:33

DROP OPERAT中文man

2011-08-24 14:16:18

DROP DATABA中文man

2011-08-24 14:13:27

DROP CONVER中文man

2011-08-24 14:31:48

DROP LANGUA中文man

2011-08-24 14:19:14

DROP DOMAIN中文man

2011-08-24 14:06:36

DROP AGGREG中文man

2011-08-24 14:28:47

DROP INDEX中文man

2011-08-24 14:25:43

DROP GROUP中文man

2011-08-24 14:40:50

DROP RULE中文man

2011-08-24 14:22:11

DROP FUNCTI中文man

2011-08-24 10:50:05

create_cast中文man

2011-08-24 14:49:13

drop_table中文man

2011-08-24 14:59:50

drop_user中文man

2011-08-24 14:57:06

drop_type中文man

2011-08-24 15:03:08

drop_view中文man

2011-08-24 14:43:21

drop_schema中文man

2011-08-24 14:38:16

DROP OPERAT中文man

2011-08-24 14:52:31

drop_trigge中文man

2011-08-24 14:46:42

drop_sequen中文man

2011-08-24 16:48:36

man中文man
点赞
收藏

51CTO技术栈公众号