Method Definitions Are Split Between CREATE METHOD And CREATE TYPE Definitions - Analytics Database - Teradata Vantage

SQL Data Definition Language Detailed Topics

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-07-11
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
B035-1184
lifecycle
latest
Product Category
Teradata Vantage™
Customers using Vantage delivered as-a-service cannot create their own C++ and Java UDFs, UDMs, UDTs, or External Stored Procedures.

Unlike other SQL database objects, the definition for a method is split between CREATE METHOD and its signature as defined in its associated CREATE TYPE statement.

Although the definition for a method is generally similar to that of a UDF, unlike a UDF definition, the following components of a method are defined only in its signature:
  • SPECIFIC NAME clause
  • LANGUAGE clause
  • PARAMETER STYLE clause
  • [NOT] DETERMINISTIC clause
  • SQL data access (NO SQL) clause

The RETURNS clause is defined both in the CREATE METHOD definition and in the CREATE TYPE signature for the method.