17.05 - Example: Showing a Java External Stored Procedure with an XML Data Type - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1144-175K
Language
English (United States)
This example shows the DDL for a Java external stored procedure with an XML data type as an input parameter:
SHOW PROCEDURE get_XML;
*** Text of DDL statement returned.
 *** Total elapsed time was 1 second.
---------------------------------------------------------------------
REPLACE PROCEDURE get_XML(IN X1 XML, INOUT A1 INTEGER)
        LANGUAGE JAVA
        NO SQL
        PARAMETER STYLE JAVA 
        EXTERNAL NAME 
        'UDF_JAR:UserDefinedFunctions.get_XML(java.sql.SQLXML, int[])’;