15.10 - CREATE CAST and REPLACE CAST - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

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