Alter the Java Path of Registered JAR or ZIP Files | Teradata Vantage - Altering the Java Path of Registered JAR or ZIP Files - 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™

To specify that the search path of classes for a registered JAR or ZIP file include classes from other JAR or ZIP files registered with the same database, use the SQLJ.ALTER_JAVA_PATH external stored procedure.

Before You Begin

Take the following steps before you alter the Java path of a previously registered JAR or ZIP file for an external routine:

  1. Verify you have the EXECUTE privilege on the SQLJ.ALTER_JAVA_PATH external stored procedure.
  2. If the default database is not the same as the default database with which the JAR or ZIP file was registered, use the DATABASE statement to change the default database.
  3. Verify you have the DROP PROCEDURE or DROP FUNCTION privilege on any of the following objects:
    • The default database
    • The object within the default database, identified by the SQL identifier that was passed to SQLJ.INSTALL_JAR