datapump syntax for importing a table

Originally table tab_1 was in schema_1. using DataPump, I want to move this table from schema_1 to schema_2.
The script below puts the table back into schema_1
impdp dms/DM_******@ufms020 DIRECTORY=dpump_dir_020 DUMPFILE=MOM_ALL_034.dmp LOGFILE=dmscontent_020_2 TABLES=tab_1

I have created  the table in schema_2

How do I direct datapump to import tab_1 into schema_2
Kamal AgnihotriAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kamal AgnihotriAuthor Commented:
I think it can be done. Please update ASAP
To import from a full export file an old schema named fred, into a new schema user named barney...

With impdp:
impdp system/admin directory=dumps dumpfile=export.dmp remap_schema=fred:barney

With imp:
imp system/admin file=export.dmp fromuser=fred touser=barney

Note with impdp you need to create the directory inside Oracle:

create directory dumps as 'C:\dumps';
So for your issue, the important part is:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Enterprise Software

From novice to tech pro — start learning today.