DROP MACRO Statement | Teradata Vantage - 17.10 - Additional DROP Processes for Java External Procedures - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Detailed Topics

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
English (United States)

The DROP PROCEDURE statement performs some extra bookkeeping on the dictionary tables referenced by the SQLJ database, as follows:

  1. The same validation of privileges that are required to drop a non-Java external procedure are performed for Java procedures.
  2. The database deletes the row in the DBC.Routine_Jar_Usage table that indicated that the Java routine being dropped used the JAR specified in its EXTERNAL NAME clause.

These operations do not change either the Java method or the JAR file associated with the Java external procedure being dropped in any way. The request drops only the Java procedure, and any associations made to it from within the SQLJ database and dictionary tables.