The DROP PROCEDURE statement performs some extra bookkeeping on the dictionary tables referenced by the SQLJ database, as follows:
- The same validation of privileges that are required to drop a non-Java external procedure are performed for Java procedures.
- 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.