17.10 - Definitions And Purposes Of The Various Method Names - 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)

The table on the following page is intended to clarify the definitions and purposes of the various method name types in the following list:

  • The method name, which is specified in both the CREATE TYPE statement that associates the method with the UDT and in the CREATE METHOD statement that defines the method body.
  • The SPECIFIC method name, which is specified in the method signature declaration of the CREATE TYPE statement that associates the method with the UDT.
  • The method object name, or external method name, which is specified in the EXTERNAL NAME clause of the CREATE METHOD statement that defines the method body.
Method Name Scenario 1 Scenario 2 Scenario 3 Scenario 4
method_name Always specified.

Used as SQL-invoked routine name.

Always specified.

Used as SQL-invoked routine name.

Always specified.

Used as SQL-invoked routine name.

Always specified.

Used as SQL-invoked routine name.

SPECIFIC method_name Specified.

Used as the unique identifying SPECIFIC name for the method.

Specified.

Used as the unique identifying SPECIFIC name for the method.

Not specified.

System logic generates a default SPECIFIC method name and uses it as the unique identifying name for the method.

Not specified.

System logic generates a default SPECIFIC method name and uses it as the unique identifying name for the method.

EXTERNAL NAME external_method_name Specified.

Used as the routine entry point for the method.

Not specified.

The system assumes that the SPECIFIC method name is also the routine entry point for the method.

Not specified.

The system assumes that the SPECIFIC method name is also the routine entry point for the method.

The system-generated SPECIFIC method name in this scenario is also used as the routine entry point for the method.

Specified.

Used as the routine entry point for the method.