Import and Export exp and imp commands from oracle

Source: Internet
Author: User

Oracle Import and Export exp, imp command Database Export 1. Export the database completely exp username/password @ test file = d:/xxx. dmp full = y2. export only the user's table exp username/password @ test file = d:/export. dmp owner = (xxx, xxx) 3. export the table in the database exp username/password @ test file = d:/export. dmp tables = (table1, table2, tables3) 4. export a field in a table in the database according to the condition exp username/password @ test file = d:/export. dmp tables = (tables) query/"where filed like00 %/" data import to database 1. data in dmp is imported to the test database imp usernmae/password @ test file = xxx. dmp (ignore = y) if the table already exists, an error is returned, ignore will not be added. 2. Import the file data to a database table table1imp username/pwd @ test file = xxx. the dmp tables = (table1) operation must have sufficient permissions. Otherwise, the system will prompt the database, tnsping test 4, to check whether the database can be connected.

Related Article

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.