getXSPInoutStructForNull(int) - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

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
qwr1571437338192.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™

Purpose

Returns an empty Struct object representing the INOUT parameter of a Java external stored procedure when a Null object is passed in for the parameter.

Syntax

java.sql.Struct getXSPInoutStructForNull(int  param_index)
                            throws Exception

Parameters

param_index
The index of the particular INOUT parameter as it appears in the list of parameters for the Java external stored procedure, starting from 0.

Return Value

The java.sql.Struct object that represents the INOUT parameter of a Java external stored procedure when a Null object is passed in for the parameter.

Exceptions

Throws Exception if any error occurs during the process which could be either IOException or SQLException depending on the root cause of the error.