This post is main a note to myself of a script to drop all my Oracle Data Miner models.
1. Check to see what models you have in your schema
2. Drop all the ODM models
set serveroutput on
cursor c_1 is SELECT model_name
FOR r_1 in c_1 LOOP
dbms_output.put_line(‘Dropping model ‘||r_1.model_name);
DBMS_DATA_MINING.DROP_MODEL(model_name => r_1.model_name);