Redistribute Registered JAR or ZIP Files | External Routines | Teradata Vantage - 17.10 - Redistributing Registered JAR or ZIP Files - 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)

You might need to redistribute a previously registered archive file (specifically, a JAR or ZIP file) to all nodes of a database system during copy, migrate, or system restore operations.

To redistribute a previously registered archive file to all nodes of a database system, use the SQLJ.REDISTRIBUTE_JAR external stored procedure. The archive file to be redistributed must have been registered using the SQLJ.INSTALL_JAR external stored procedure.

Before You Begin

Take the following steps before you redistribute a previously registered archive file for an external routine:

  1. Verify you have the EXECUTE privilege on the SQLJ.REDISTRIBUTE_JAR external stored procedure.
  2. If the default database is not the same as the default database with which the archive 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 that you are redistributing, identified by the SQL identifier that was passed to SQLJ.INSTALL_JAR