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

SQL Data Definition Language Detailed Topics

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
jpx1556733107962.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™

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.