15.00 - Naming Conventions: Avoiding Name Clashes Among UDFs, UDMs, and UDTs - Teradata Database

Teradata Database SQL Data Definition Language Detailed Topics

Product
Teradata Database
Release Number
15.00
Content Type
Programming Reference
Publication ID
B035-1184-015K
Language
English (United States)

Naming Conventions: Avoiding Name Clashes Among UDFs, UDMs, and UDTs

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.