数据库: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;