16.20 - Naming Conventions: Avoiding Name Clashes Among UDFs, UDMs, and UDTs - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1184-162K
Language
English (United States)

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.