DROP CAST
Description
Deletes a type conversion.
Precautions
To delete a type conversion, you must have permissions on the source or destination data type. This is the same permission as creating a type conversion.
Syntax
DROP CAST [ IF EXISTS ] (source_type AS target_type) [ CASCADE | RESTRICT ];
Parameters
- IF EXISTS
Do not throw an error if the specified conversion does not exist. A notice is issued in this case.
- source_type
Source data type in the type conversion.
- target_type
Type of the target data in the type conversion.
- CASCADE | RESTRICT
These keys have no effect because there is no dependency on type conversion.
Examples
For details, see 8.12.8.12-Examples in section "CREATE CAST."
Helpful Links
Compatibility
DROP CAST complies with the SQL standard.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot