Oracle database Import and Export data

Source: Internet
Author: User

One. Export
1. Export the entire Database General Command: EXP database username/Database Password @ database alias file=e:\ directory \ file name. dmp
Example: Exp gwyxgldb/gwyxgldb @192.168.0.31 file=d:\gwyxgldb.dmp

2. Export partial Table general commands
EXP database username/Database Password @ Database alias grants=y tabes= (table 1 to export, table 2 to export,...) file=e:\ directory \ filename. dmp

Exp gwyxgldb/gwyxgldb @192.168.0.31 grants=y tables= (outbox,s_dict) file=d:\jlwater.dmp



Two. Import
IMP Import library user name/import library password @ Import library alias file=e:\ directory \ filename. dmp fromuser=dmp file Export Library touser=dmp file import library
Example: Imp jlwater/[email protected] file=d:\jlwater.dmp fromuser=gwyxgldb Touser=jlwater

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.