Function Entry Name Clause - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
jpx1556733107962.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1184
lifecycle
previous
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.