DROP MODEL (SQL)
DROP MODEL model-name
|model-name||The name of the model to delete.|
The DROP MODEL command deletes a model and its corresponding class definition. It also purges any training runs and validation runs associated with the model.
Deleting a Non-Existent Model
The model must exist in the current namespace. Attempting to delete a non-existent model generates an SQLCODE —30 error.
Required Security Privileges
Calling DROP MODEL requires %MANAGE_MODEL privileges; otherwise, there is a SQLCODE –99 error (Privilege Violation). To assign %MANAGE_MODEL privileges, use the GRANT command.