Oracle备份一张表

数据库:myOnly

创建表:myTable 的备份表 myTable_tmpe 

create table myTable_tmpe as select * from myTable ;

 

补充:

--在myTable 中添加一条学生的数据 ;
insert into myTable (id, type, code, name, parent_code,sync_flag) values ('110', 'student', '01', '学生', '00','');
commit;

--删除myTable 表原有数据 ;
delete from myTable  ;
commit;

 

 

insert into E_PKG_ATPCFG_BAC select * from E_PKG_ATPCFG; 

posted @ 2017-06-23 11:05  _小豪豪  阅读(878)  评论(0编辑  收藏  举报