17.00 - parameter_style_specification - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Advanced SQL Engine
Teradata Database
Release Number
September 2020
Content Type
Programming Reference
Publication ID
English (United States)

The parameter passing convention to be used when passing parameters to the procedure.

This clause is mandatory for all external procedures. The specified parameter style must match the parameter passing convention of the external procedure.

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 PROCEDURE or REPLACE PROCEDURE request.

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.
Uses parameters to pass arguments.
Can neither be passed nor return nulls.
Mandatory for all Java procedures.
If the Java procedure must accept null arguments, then the EXTERNAL NAME clause must include the list of parameters and specify data types that map to Java objects.