Example: XML Parameter in a Java External Stored Procedure

Teradata Vantageā„¢ XML Data Type

brand
Software
Teradata Vantage
prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1140-162K
REPLACE PROCEDURE get_XML(IN X1 XML, INOUT A1 INTEGER)
LANGUAGE JAVA
NO SQL
PARAMETER STYLE JAVA 
EXTERNAL NAME 'UDF_JAR:UserDefinedFunctions.get_XML';

public static void get_XML(java.sql.SQLXML X1, int[] A1) throws SQLException