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

猜你喜欢

转载自www.cnblogs.com/xtjatswc/p/11778414.html