DROP CAST - remove a user-defined type conversion

SYNOPSIS

 

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

DESCRIPTION Description

DROP CAST delete a previously defined type conversion.


 To be able to delete a cast, you must own the source or destination data type. This is a type conversion and create the same privileges.

PARAMETERS Parameters

sourcetype

 Type conversion in the source data type.
targettype

 Type conversion in the target data type.
CASCADE
RESTRICT

 These keys have no effect, since there is no dependency on the type of conversion.

EXAMPLES Examples


 Delete converted from text to int:

 

DROP CAST (text AS int);

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11080830.html