Drop JavaScript Modules

The DROP MLE MODULE DDL statement is used for dropping an MLE module.

The DROP statement specifies the name, and optionally the schema of the module to be dropped. If a schema is not specified, the schema of the current user is assumed.

Attempting to drop an MLE module that does not exist causes an error to be thrown. In cases where this is not desirable, the IF EXISTS clause can be used. The DROP MLE MODULE command is silently skipped if the indicated MLE module does not exist.

Example 3-9 Drop an MLE Module

DROP MLE MODULE unused_mod;

Example 3-10 Drop an MLE Module Using IF EXISTS

DROP MLE MODULE IF EXISTS unused_mod;