只有当指数存在时,你才会放弃指数?
It seems simple but I did found anything on the net. The idea is to drop it only if it exists, because if not, I will have an error and my process stops.
我发现,如果指数存在的话,情况就是这样:
select index_name
from user_indexes
where table_name = myTable
and index_name= myIndexName
但我不知道如何把它同起来。
DROP INDEX myIndexName