Teradata Database performs implicit UDT-to-UDT casts for the following operations:
- UPDATE
- INSERT
- Passing arguments to stored procedures, external stored procedures, UDFs, and UDMs
- Specific system operators and functions identified in other sections of this document, unless the DisableUDTImplCastForSysFuncOp field of the DBS Control Record is set to TRUE
An implicit data type conversion involving a UDT can only be performed if the cast definition specifies the AS ASSIGNMENT clause. For more information, see Implicit Type Conversions and “CREATE CAST” in Teradata Vantage™ - SQL Data Definition Language Syntax and Examples, B035-1144.