I want to copy all the objects (tables, stored procedures, functions, etc.) of one user to another user. Can you please tell me how to achieve this in Oracle 9i?

    Requires Free Membership to View

One of the easiest ways to accomplish this task is to use Oracle's export and import utilities. Export just that schema owner's objects similar to the following (I'll export the SCOTT schema objects):
exp userid=system file=scott.dmp owner=scott
Now, you'll want to import these objects into another schema (I'll use the HR user in my example):
imp userid=system file=scott.dmp fromuser=scott touser=hr
The FROMUSER and TOUSER parameters will force the import process to import into the HR schema.

This was first published in March 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: