Updated on 2026-11-06 GMT+08:00

DROP MODEL

Function

Deletes an existing model.

Syntax

1
DROP MODEL [ IF EXISTS ] model_name;

Parameter Description

Table 1 DROP MODEL parameters

Parameter

Description

Value Range

IF EXISTS

Issues a notice instead of throwing an error if the specified model does not exist.

-

model_name

Name of the model to be deleted

Name of an existing model