oracle数据库如何备份一张表
2016-07-18 19:17
453 查看
--用户名:tms
--创建表ts_dictionary的备份
create table ts_dictionary_20160715 as select * from ts_dictionary;
补充:
--在ts_dictionary中添加一条一账通的数据
insert into ts_dictionary (id, type, code, name, parent_code,sync_flag) values ('384', 'payMode', '08', '一账通', '00','');
commit;
--删除ts_dictionary表原有网上支付对应数据记录,语音支付,网上支付,手机支付
delete from ts_dictionary where id in('385','386','387');
commit;
--创建表ts_dictionary的备份
create table ts_dictionary_20160715 as select * from ts_dictionary;
补充:
--在ts_dictionary中添加一条一账通的数据
insert into ts_dictionary (id, type, code, name, parent_code,sync_flag) values ('384', 'payMode', '08', '一账通', '00','');
commit;
--删除ts_dictionary表原有网上支付对应数据记录,语音支付,网上支付,手机支付
delete from ts_dictionary where id in('385','386','387');
commit;
相关文章推荐
- HDU 5718 Oracle
- oracle表设计汇总
- Oracle10g_杂
- HDU 5718 Oracle
- Oracle从设计上优化性能汇总
- oracle 高端 必备掌握语句
- 安装Oracle时Enterprise Manager配置失败-实例化EM配置文件出错。
- IMP-00058: ORACLE error 12560 encountered
- Oracle学习2
- ORACLE RMAN备份及还原
- 27.Which two statements are true regarding transactions in an Oracle database? (Choose two.)
- ORACLE AWR报告生成过程出现多个实例记录分析
- Oracle意外删除数据文件恢复方法
- oracle_动态sql与参数游标
- Oracle EBS新建一个账簿(1)
- Oracle正则表达式
- HDU 5718 BestCoder 2nd Anniversary Oracle (模拟)
- oracle分析函数
- Linux 安装Oracle11g完整安装图文教程另附基本操作 (分享)
- Oracle之函数