Oracle生成批量清空表数据脚本

select 'DELETE FROM ' || a.table_name || '; --' || a.comments from user_tab_comments a where a.table_type in('TABLE') and table_name not like 'SYS_%'
posted @ 2019-11-01 17:44  xtjatswc  阅读(516)  评论(0编辑  收藏  举报