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;

posted @ 2018-11-21 18:52  艺术攻城狮  阅读(6306)  评论(0编辑  收藏  举报