Basic Oracle Concepts and Programming Question:

Download Job Interview Questions and Answers PDF

How To Invoke the Data Pump Import Utility?

Oracle Database Interview Question
Oracle Database Interview Question

Answers:

Answer #1
The Data Pump Import utility is distributed as executable file called "impdp.exe". To invoke this utility, you should go to the "bin" directory of your Oracle server installation and run the "impdp" command. Here is tutorial exercise on how to invoke the import utility:

>cd oraclexeapporacleproduct10.2.0serverBIN

>impdp help=y
Import: Release 10.2.0.1.0 -

The Data Pump Import utility provides a mechanism for
transferring data objects between Oracle databases. The
utility is invoked with the following command:

Example: impdp scott/tiger DIRECTORY=dmpdir
DUMPFILE=scott.dmp

You can control how Import runs by entering the 'impdp'
command followed by various parameters.

Format: impdp KEYWORD=value or
KEYWORD=(value1,value2,...,valueN)

Example: impdp scott/tiger DIRECTORY=dmpdir
DUMPFILE=scott.dmp


Answer #2
USERID must be the first parameter on the command line.

<pre>Keyword Description (Default)
----------------------------------------------------------
ATTACH Attach to existing job, e.g. ATTACH [=job name]
DIRECTORY Directory object to be used for dump, log, ...
DUMPFILE List of dumpfiles to import from (expdat.dmp)
FULL Import everything from source (Y).
HELP Display help messages (N).
......</pre>

Download Oracle Database Interview Questions And Answers PDF

Previous QuestionNext Question
How To Invoke the Data Pump Export Utility?What Are Data Pump Export and Import Modes?