15.10 - CREATE CAST and REPLACE CAST - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Release Date
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
Language
English (United States)

Purpose

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.

Syntax