Naming Conventions: Avoiding Name Clashes Among UDFs, UDMs, and UDTs - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
imq1591724555718.ditamap
dita:ditavalPath
imq1591724555718.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™

For UDF, method, and UDT names not to clash, they must observe the following two rules:

  • The following column pair must be unique within the DBC.TVM table:
    • DatabaseID, TVMNameI
  • The signature of the following routine must be unique:
    • database_name.routine_name(parameter_list).

UDFs, methods, and UDTs can have the same SQL names as long as their SPECIFIC names and associated routine signatures are different. In the case of UDTs, the SPECIFIC name reference is to the SPECIFIC names of any method signatures within a UDT definition, not to the UDT itself, which does not have a SPECIFIC name.