Import a table from one user to another Oracle SQL

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Import a table from one user to another Oracle SQL



Is it possible to import a table from one user to another from export dmp file in Oracle?



If yes, how to do it?



I have 2 users: MILLER and DUMMY. MILLER has table Planets. I've made export from MILLER (last.dmp) using Command Prompt, and I want to make import the table into DUMMY user from export file.



I have already tried use information from here but it didn't help me.



I also can add log of command prompt, if necessary.





I think you're looking for the REMAP_SCHEMA option. Find out more.
– APC
Aug 9 at 13:35





What utility did you use? exp or expdp?
– Dmitry Demin
Aug 9 at 14:04


exp


expdp





I use exp and imp
– Бурхан Ондар Барази
Aug 10 at 5:24




2 Answers
2



If you are using the "Original Import" Utility, you should consider that:



More information here



Thank you to all of you. Here is the solution:



1)grant IMP_FULL_DATABASE to DUMMY;



2)alter user DUMMY quota 50m on system; (because I had error
IMP-00058: ORACLE error 1950 encountered



ORA-01950: no privileges on tablespace 'SYSTEM'



Import terminated successfully with warnings.)



3)use FROMUSER and TOUSER in command prompt:


C:>imp dummy@test3 fromuser=miller touser=dummy






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS