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

Teradata Database SQL Data Definition Language Detailed Topics

prodname
Teradata Database
vrm_release
15.00
category
Programming Reference
featnum
B035-1184-015K

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.