17.10 - getXSPInoutBlobForNull(int index) - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)

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

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.

Syntax

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

Syntax Elements

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.

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.