Example: Dropping the Cast of a Geospatial UDT to a Geospatial UDT
The following example drops the cast of UDT circle to UDT ellipse.
DROP CAST (circle AS ellipse);
Example: Dropping the Cast of a Geospatial UDT to a VARCHAR
The following example drops the cast of UDT circle to VARCHAR(32).
DROP CAST (circle AS VARCHAR(32));
Example: Dropping the System-Generated Cast from Source Data Type to Distinct UDT
The following example drops the system-generated cast of DECIMAL to the UDT euro.
DROP CAST (DECIMAL AS euro);
Example: Dropping the System-Generated Cast from Distinct UDT to Source Data Type
The following example drops the system-generated cast of UDT euro to DECIMAL.
DROP CAST (euro AS DECIMAL);