declare
cursor tname is select * from all_tables t where t.OWNER='C##BENZ' ;
t_name varchar2(32);
begin
t_name:='select * from ';
for ta in tname loop
execute immediate t_name||ta.table_name;
dbms_output.put_line(ta.table_name);
end loop;
end;
/
oracle 操作工具,刪除用戶下所有的表
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章