FUNCTION - Teradata Vantage - Analytics Database
SQL Data Definition Language Syntax and Examples
- Deployment
- VantageCloud
- VantageCore
- Edition
- VMware
- Enterprise
- IntelliFlex
- Product
- Analytics Database
- Teradata Vantage
- Release Number
- 17.20
- Published
- June 2022
- ft:locale
- en-US
- ft:lastEdition
- 2025-11-06
- dita:mapPath
- jco1628111346878.ditamap
- dita:ditavalPath
- qkf1628213546010.ditaval
- dita:id
- mdr1472255012272
- lifecycle
- latest
- Product Category
- Teradata Vantageā¢
- function_name
- The name of the external UDF to be used to convert source_data_type to target_data_type. The function_name must specify a unique function.
- You cannot invoke an SQL UDF from a CREATE CAST or REPLACE CAST request.
- If you do not specify a set of data types for a function name, the function must be the only external UDF with that name in the database.
- The function can have only one parameter. The result data type must be the same as target_data_type. The function must be defined to be deterministic. The function name must identify an external UDF in the SYSUDTLIB database.
- data type
- The parameter data type must be the same as source_data_type.
- UDT_name
- The parameter data type must be the same as source_data_type.