getXSPInoutBlobForNull(int index) - 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™

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

Syntax

java.sql.Blob getXSPInoutBlobForNull(int  index)
                            throws Exception

Argument

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.Blob object that represents the INOUT parameter of a Java external stored procedure when a Null object is passed in for the parameter. This object can be used to set the return value for the INOUT parameter that was passed in as a NULL.

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.