📅  最后修改于: 2022-03-11 15:04:52.300000             🧑  作者: 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;