Creates or replaces a cast operation for a UDT.
CREATE CAST is ANSI SQL:2011-compliant with extensions.
REPLACE CAST is a Teradata extension to the ANSI SQL:2011 standard.
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