请问在新建一个表时,如何知道该表是不是已存在? 如果存在的就删除的话select count(1) from all_tables where table_name = 'WZM3_BAK'; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select count(1) into n_num from all_tables where table_name = 'WZM3_BAK';if n_num = 0 thenexecute immediate 'create...';elseexecute immediate 'drop table ...';end if;... 读取oracle二进制图片 什么是数据字典 oracle 表因为update 大长度字段,导致表空间增长过快问题,高手请进 按月分组查询的问题,各位前辈帮帮小弟吧! 一个关于判断0值的问题? 如果游标为空? 新手求一条简单查询语句 问下varchar类型最多可以存多少汉字? Red Hat Linux 9 下安装 Oracle 9i R2 出错 这个sql怎么写? 数据库该怎样设计!!! 几个问题
if n_num = 0 then
execute immediate 'create...';
else
execute immediate 'drop table ...';
end if;
...