Rules For Calling Procedures From Embedded SQL - Advanced SQL Engine - Teradata Database

SQL Data Manipulation Language

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
qtb1554762060450.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1146
lifecycle
previous
Product Category
Teradata Vantage™
The following additional rules apply to a call argument when the CALL statement is submitted from a PP2 embedded SQL application:
  • An IN argument must be a value expression.

    Identifiers in the value expression prefixed by the COLON character (:), if any, must refer to host variables. The value of the expression is treated as the input value for the corresponding parameter.

  • An INOUT argument must be a value expression that is limited to the form of an OUT_call_variable. The identifier must refer to a host variable.
  • An OUT argument must be an OUT_call_variable. The identifier must refer to a host variable.