16.20 - PARAMETER STYLE - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Content Type
Programming Reference
Publication ID
B035-1144-162K
Language
English (United States)
Last Update
2019-05-24

Parameter passing convention to be used when passing parameters to the function.

The specified parameter style must match the parameter passing convention of the external function.

If you do not specify a parameter style at this point, you can specify one with the external body reference.

You cannot specify parameter styles more than once in the same CREATE/REPLACE FUNCTION request.

This clause is optional and can only be specified once per function definition.

For more information about UDF parameter styles, see “CREATE FUNCTION (External Form)” in Teradata Vantage™ SQL Data Definition Language Detailed Topics , B035-1184 .

SQL
Uses indicator variables to pass arguments.
As a result, you can always pass nulls as inputs and return nulls in results.
SQL is the default parameter style.
TD_GENERAL
Uses parameters to pass arguments.
Can neither be passed nor return nulls.
JAVA
Mandatory for all Java functions.