没有这样的写法。
select * from tab where table_name='your_table';
drop table ...
create table ...
你不如使用erwin来作,选中drop table选项。
select * from tab where table_name='your_table';
drop table ...
create table ...
你不如使用erwin来作,选中drop table选项。
i number;
begin
select count(1) into i from tab where table_name='your_table';
if i>1 then
drop table ...
else
create table ...
end if;
end;
/