17.10 - getUDFOutputSQLXML() - 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 the com.teradata.fnc.SQLXML object that represents the return XML value of the Java UDF.

Syntax

public static java.sql.SQLXML getUDFOutputSQLXML()
                         throws SQLException

Usage Notes

This method can only be called from a scalar or aggregate Java UDF. If called from an aggregate Java UDF, it may only be called in the Phase.AGR_FINAL execution phase.

Exceptions

Throws SQLException if a database access error occurs. A database specific error code “9752 (ERRUDFJAVAXML)<Failed to retrieve XML object>” is returned.