Home > Database > Mysql Tutorial > linux下oracle导入数据的方法

linux下oracle导入数据的方法

WBOY
Release: 2016-06-07 17:59:27
Original
1060 people have browsed it

启动服务:services.msc 第一步开启监听程序:lsnrctl start 第二步 导出原来数据操作 Exp tc4_gctos_file/ok @tcmg 导入操作: Imp tc4_gctos_file/ok@orcl 导入文件: EXPDATA.DMP D:\TC4_gctos_file ;如果遇到NO 根据实际情况改成YES在 在D:\TC4_GCTOS; T

启动服务:services.msc

 

 

 

第一步开启监听程序:lsnrctl start

 

第二步

 

导出原来数据操作

 

Exp tc4_gctos_file/ok @tcmg       

 

导入操作:

 

Imp tc4_gctos_file/ok@orcl

 

导入文件: EXPDATA.DMP D:\TC4_gctos_file  ;如果遇到NO 根据实际情况改成YES在

 

在D:\TC4_GCTOS; TC4_GCTOS_CODE ; TC4_GCTOS_FILE;

 

 

 

 

 

修改C:\Program Files\HDSOFT\HD_TC_GCTOS_5.0\runtime下面的DATA

 

在NETWORKK中

 

# tnsnames.ora Network Configuration File:d:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora

 

# Generated by Oracle configuration tools.

 

 

 

ORCL =

 

 (DESCRIPTION =

 

   (ADDRESS = (PROTOCOL = TCP)(HOST = wangli2011-PC)(PORT = 1521))

 

   (CONNECT_DATA =

 

     (SERVER = DEDICATED)

 

     (SERVICE_NAME = orcl)

 

    )

 

  )

 

TCMG=

 

 (DESCRIPTION=

 

   (ADDRESS=

 

     (PROTOCOL=TCP)

 

     (HOST=192.168.102.58)

 

     (PORT=1521)

 

    )

 

   (CONNECT_DATA=

 

     (SERVER=dedicated)

 

     (SERVICE_NAME=orcl)

 

    )

 

  )

 

EXTPROC_CONNECTION_DATA =

 

 (DESCRIPTION =

 

   (ADDRESS_LIST =

 

     (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))

 

    )

 

   (CONNECT_DATA =

 

     (SID = PLSExtProc)

 

     (PRESENTATION = RO)

 

    )

 

  )

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template