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

  • Post author:
  • Post category:其他


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_%'



版权声明:本文为xtjatswc原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。