ITeye博客

删除oracle末用户的表数据

mengjichen · 2015-03-10 16:01 · 数据库 · 数据库 · Markdown

begin for cr in (select o.object_name a from dba_objects o where o.owner='TEST' and o.object_type = 'TABLE' order by o.object_name) loop dbms_output.put_line(CONCAT(CONCAT('delete from ',cr.a),'; ')); end loop; end;

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。