📅  最后修改于: 2022-03-11 15:05:25.034000             🧑  作者: Mango
DECLARE
index_not_exists EXCEPTION;
PRAGMA EXCEPTION_INIT (index_not_exists, -1418);
BEGIN
EXECUTE IMMEDIATE 'DROP INDEX index_name';
EXCEPTION
WHEN index_not_exists THEN NULL;
END;