declare num number; begin select count(1) into num from all_tables where TABLE_NAME = upper('EMP') and OWNER='SCOTT'; if num=1 then execute immediate 'drop table EMP'; end if; end;
Oracle如何判断表存在,若存在则进行删除
猜你喜欢
转载自www.cnblogs.com/biabiabia/p/9813496.html
今日推荐
周排行