Oracle exports, imports all data from a user (including tables, views, stored procedures ...) )

Source: Internet
Author: User

Prerequisite: Under the cmd command

Export command: EXP username/password @ database owner= user name file= file storage path (for example: F:\ABCD.DMP)

TEST: Exp zm/[email protected] OWNER=ZM file=f\abcd.dmp

Import Command: IMP username/password @ database fromuser= user name touser= user name File=d:\cu.dmp ignore=y

IMP: Command type

cu/[email protected]: Imported Database Login (user name/password @ database)

Fromuser: Specified user of the file

Touser: Specify a user to import into the currently logged-on database

File: Data files that need to be imported

Ignore: Whether to ignore creation errors

Test: Imp zm/[email protected] fromuser=zm touser=szzm file=f:\test.dmp ignore=y

Oracle exports, imports all data from a user (including tables, views, stored procedures ...) )

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.