CREATE/REPLACE CAST SQL Statement | Teradata Vantage - CREATE CAST and REPLACE CAST - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

Creates or replaces a cast operation for a UDT.

Required Privileges

You must have either the UDTTYPE or UDTMETHOD privilege on the SYSUDTLIB database to create or replace a cast.

If you specify a cast_function, then you must also have the EXECUTE FUNCTION privilege on the UDF, and it must be contained within the SYSUDTLIB database.

Privileges Granted Automatically

None.