How to export data from oracle table and import the same contents into table of an external database? -
i have tried
sql> exp prime/prime@emp1 file=archive.dmp log=archive.log table=archive; should need add these in query,
indexes=y trigger=y constraints=n grants=y commit=y what significance of these?
is import command same export? it this?
sql> imp prime/prime@emp2 file=archive.dmp log=archive.log table=archive;
you have said issue/error is, guessing, judging "sql> " prompt in example, seems running sql*plus.
the exp/imp , expdp/impdp utilities command line programs (dos/bash), not sub-commands within sqlplus.
to run "within" sqlplus have "host out" follows:
portable:
sql> host imp .... unix/linux:
sql> ! imp .... dos:
sql> $ imp.exe .....
Comments
Post a Comment