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_%‘
温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/SQL/21854.html
- 上一篇:oracle11g安装
- 下一篇:浅谈高性能数据库集群——读写分离