I want to import a .dmp file into my Oracle 9i database, and when I try to do so using the SQL prompt it gives me an error: "SP2-0734: unknown command beginning 'imp pis/pi...' - rest of line ignored." Please help me. How should I solve this, or what are the various commands which will help me in importing?

    Requires Free Membership to View

You cannot import a dump file with SQL*Plus. The correct utility is the 'imp' utility. The following will import the entire contents of the dump file:
imp userid=system/manager file=my_dump.dmp full=y log=imp.log
All messages will be logged to the imp.log file. For more information on the export and import utilities, please refer to the Oracle Utilities Guide which can be found at http://tahiti.oracle.com.

This was first published in December 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: