删除Oracle数据库表中的数据

来源:互联网 发布:大淘客cms建站教程 编辑:程序博客网 时间:2024/06/04 20:03

--选择需要删除的表


select table_name from user_tables




--得到需要删除表的语句

select 'truncate table '||table_name||';' from user_tables



--复制语句,执行删除