Oracle 的表备份的方法

1.直接备份(防止误操作后数据库表不能恢复)

create table new_table as select * from old_table;

2.创建表头,然后插入列(繁琐的做法)

create table new_table (col1 VARCHAR2(20), col2 NUMBER, col3 VARCHAR2(30), col4 VARCHAR2(50))

然后

insert into new_table select * from old_table;
commit;

3.表的删除

drop table table_name

原文地址:https://www.cnblogs.com/Lxiaojiang/p/6051397.html