Oracle记录导入,导出对偶

AHSZY生成信息

Enterprise Manager Database Control URL - (orcl) :

http://itserver:1158/em

数据库配置文件已经安装到 D:/oracle/product/10.2.0,同时其他选定的安装组件也已经安装到 D:/oracle/product/10.2.0/db_1。

iSQL*Plus URL 为:

http://itserver:5561/isqlplus

iSQL*Plus DBA URL 为:

http://itserver:5561/isqlplus/dba

用户空间:

exp system/syitserver@ORCLE file=D:/oracle/back2009-4-2.dmp owner=(AHSZY)

imp SYSTEM/syitserver@ORCL file=D:/oracle/back2009-4-17.dmp log=D:/LOG.TXT fromuser=AHSZY

表:

exp AHSZY/syitserver@ORCL file=d:/WR_RLTW_C.dmp tables=(WR_RLTW_C)
     exp AHSZY/syitserver@ORCL file=d:/WS_SUMSL.dmp tables=(WS_SUMSL)

drop table WR_RLTW_C;drop table WS_SUMSL;

imp AHSZY/syitserver@ORCL file=d:/WR_RLTW_C.dmp tables=(WR_RLTW_C)
      imp AHSZY/syitserver@ORCL  file=d:/WS_SUMSL.dmp tables=(WS_SUMSL)

 

定时导出的批量语句:

@echo off 
for /f "tokens=2 delims==" %%a in ('wmic path win32_operatingsystem get LocalDateTime /value') do ( 
    set t=%%a 

set Today=%t:~0,4%-%t:~4,2%-%t:~6,2% 
echo,%Today% 
exp INTERROGATE/INTERROGATE@ORCL file=D:/oraclebak/back%Today%.dmp owner=(INTERROGATE)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值