易截截图软件、单文件、免安装、纯绿色、仅160KB

oracle exp imp 初探

数据导出:
 1 将数据库TEST完全导出,用户名system 密码manager 导出到D:\daochu.dmp中
   exp system/manager@TEST file=d:\daochu.dmp full=y
 2 将数据库中system用户与sys用户的表导出
   exp system/manager@TEST file=d:\daochu.dmp owner=(system,sys)
 3 将数据库中的表inner_notify、notify_staff_relat导出
    exp aichannel/aichannel@TESTDB2 file= d:\data\newsmgnt.dmp tables=(inner_notify,notify_staff_relat) 
 4 将数据库中的表table1中的字段filed1以"00"打头的数据导出
   exp system/manager@TEST file=d:\daochu.dmp tables=(table1) query=\" where filed1 like '00%'\"
数据的导入
 1 将D:\daochu.dmp 中的数据导入 TEST数据库中。
   imp system/manager@TEST  file=d:\daochu.dmp
   imp aichannel/aichannel@HUST full=y  file= d:\data\newsmgnt.dmp ignore=y
   上面可能有点问题,因为有的表已经存在,然后它就报错,对该表就不进行导入。
   在后面加上 ignore=y 就可以了。
 2 将d:\daochu.dmp中的表table1 导入
 imp system/manager@TEST  file=d:\daochu.dmp  tables=(table1)
3.从用户A到用户B
imp username/pwd@db_server file=d:\back.dmp fromuser =A touser =B


相关文档:

拍破脑袋才想出来 ntfs+oracle+2003+asp.net

环境:asp.net +oracle9+windows2003
在本地测试网站完全没有问题。但是一上传到服务器就出问题了,数据库无法连接。由于远程没有VS环境,所以无法调试。真是费了牛劲才找到解决方案:
Problem Description -------------------  When running an application that connects to Oracle and uses the Authenticated ......

oracle job不运行 解决方案

1) Instance in RESTRICTED SESSIONS mode?
  Check if the instance is in restricted sessions mode:
  select instance_name,logins from v$instance;
  If logins=RESTRICTED, then:
  alter system disable restricted session;
  ^-- Checked!
  2) JOB_QUEUE_PROCESSES=0
  Make sure th ......

oracle job不运行 解决方案

1) Instance in RESTRICTED SESSIONS mode?
  Check if the instance is in restricted sessions mode:
  select instance_name,logins from v$instance;
  If logins=RESTRICTED, then:
  alter system disable restricted session;
  ^-- Checked!
  2) JOB_QUEUE_PROCESSES=0
  Make sure th ......

第28章 Oracle服务器配置和管理

第28章  Oracle服务器配置和管理
提起数据库,第一个想起的公司一般都会是Oracle。Oracle公司于1977年成立,专注于数据库产品的开发,在数据库领域一直都处于领先地位,其产品覆盖了大、中、小型机等数十种机型,是目前世界上使用最广泛的关系数据库系统之一。本节以其最新的数据库产品Oracle 11g为例,介绍如何在Red ......

oracle 启动和停止数据库

启动和停止数据库
例程->配置->一般信息中 启动和停止数据
停止数据库应该选择:当所有事务结束时。
也可以用命令启动和停止(用oracle用户登陆)
启动   : lsnrctl start     //启动 lister
          sqlplus /nolog <<EO ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号