Oracle Database Import and Export

Source: Internet
Author: User

*********** Importing (exporting) data with tools
Tool (T)-"Export Table" (X)
Tool (T)-"Export Table" (X)


Selected Execution File location:
E:\oracle\product\10.2.0\db_1\bin\imp.exe (Exp.exe)




********* command Import and Export

Oracle Import DMP File command:


(1) Data Import database in DMP file

1. First go to cmd command window
2. Execute command: Imp userid= user name/password @ database name File=d:\daochu.dmp full=y ignore=y

File: Is the full path of the DMP file you are importing.
Full=y whether all imports are available only when the current user is a DBA.
Existing tables, the import will be error, the table will not be imported, after adding ignore=y on it.

(2) Import the table usertable in DMP
IMP User name/password @ database name File=d:\daochu.dmp tables= (usertable)



Oracle Export DMP File command:

(1) All data export
EXP User name/password @ database name File=d:\daochu.dmp full=y
(2) Export the table
EXP username/Password @ database name File=d:\daochu.dmp tables= (table1,table2)
(3) Export the ID field in the Table1 table starting with "0000"
EXP username/Password @ database name File=d:\daochu.dmp tables= (table1) query=/"where ID like ' 0% '/"

Oracle Database Import and Export

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.