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 操作工具,刪除用戶下所有的表
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
oracle存儲過程使用MD5加密
dreamZhf
2020-07-08 12:36:08
oracle查詢IP地域信息
dreamZhf
2020-07-08 12:36:08
Oracle sql 判重
星星702
2020-07-08 11:55:31
Oracle 歸檔日誌介紹
Has_it
2020-07-08 11:45:27
log_archive_dest_n 和log_archive_dest和 log_archive_duplex_dest
Has_it
2020-07-08 11:45:24
Oracle遇到錯誤
Has_it
2020-07-08 11:45:23
Oracle索引錯誤的解決辦法
Has_it
2020-07-08 11:45:21
Oracle 12c 進程
_梓杰_
2020-07-08 11:20:01
使用Oracle透明網關(Gataway)操作SQL Server
_梓杰_
2020-07-08 11:20:01
Oracle Data Guard(一)簡介
_梓杰_
2020-07-08 11:20:01
ASH (Active Session History)活躍會話歷史信息
_梓杰_
2020-07-08 11:20:01
Oracle Data Guard(三)Oracle Data Guard補充技術
_梓杰_
2020-07-08 11:20:01
Oracle Data Guard(二)DG服務&故障恢復
_梓杰_
2020-07-08 11:20:01