Q
Manage Learn to apply best practices and optimize your operations.

How to import data to a different user?

I'm a DBA and I have data and a database created by user SAMRUDHI. I then export the data by using the exp samrudhi/smu@shimul grants=y command. If I want to import the table to another user by name SINI it shows the message that the backup was done by SAMRUDHI and the backup terminated unsuccessfully. What to do to import to another user?

I'm a DBA and I have data and a database created by user SAMRUDHI. I then export the data by using the exp samrudhi/smu@shimul grants=y command. The OS is Win2K Server. If I want to import the table to another user by name SINI it shows the message that the backup was done by SAMRUDHI and the backup terminated unsuccessfully. What to do to import to another user?
You can import to another user by performing the import as SYSTEM and using the FROMUSER and TOUSER parameters, similar to the following:
imp userid=system/manager file=mydmp.dmp fromuser=samrudhi touser=sini
This will import all of SAMRUDHI's objects in the dump file into the SINI user.

Dig Deeper on Oracle database backup and recovery

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close