Oracle的索引的名字是区分大小写的
select count(*) into index_count from user_indexes where lower(index_name) = 'xxx';
因为使用了lower,那么xxx必须是小写。
Oracle的索引的名字是区分大小写的
select count(*) into index_count from user_indexes where lower(index_name) = 'xxx';
因为使用了lower,那么xxx必须是小写。