15.10 - PARAMETER STYLE - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Teradata Database
Release Number
December 2015
Content Type
Programming Reference
Publication ID
English (United States)

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 SQL Data Definition Language - Detailed Topics, B035-1184.

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