Function Entry Name Clause - 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™

The Function Entry Name clause specifies an identifier for the function_entry_name variable as it is defined in its C or C++ module. It must match the function entry point name when the source is compiled and linked into a shared library. The function entry point name is used when the function defined by this statement is called.

You must specify this clause if the external function entry point name is different than function_name or specific_function_name. The string specifies the entry point name of the function, which is its external name.

You can only specify one function entry name per UDF definition.

The syntax for this clause is as follows:

    F¡function_entry_name

The character ¡ represents a user-defined delimiter.

Follow this procedure to specify a function entry name string:

  1. Begin the clause with the character F, which indicates that the characters that follow are the function entry name for the UDF.
  2. Specify an arbitrary delimiter character to separate the F code and the function entry name specified in the string.
  3. Specify the function entry name for the UDF.

    This is the name of the C or C++ function object code.