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

Teradata Vantage™ - SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1184-171K
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.