Exporting USER DLL only [message #136379] |
Wed, 07 September 2005 17:08 |
samweber
Messages: 5 Registered: September 2005
|
Junior Member |
|
|
I have a DB with a large number of users. The schemas for these users have no data or objects. I want to export the creation DDL for most of these users but .. do not want to use a FULL export because it will bring over SYSTEM tablespace data I do not want. Is there a combination of export parameters that can bring over just the user objects without anything else?
Can you do a FULL export but not IMPORT designated schemas and still get the DDL for the users I do want?
|
|
|
|
Re: Exporting USER DLL only [message #136546 is a reply to message #136485] |
Thu, 08 September 2005 12:02 |
samweber
Messages: 5 Registered: September 2005
|
Junior Member |
|
|
ok, so the idea would be to export FULL to pick up the user DDL, then use FROMUSER, TOUSER for each of say 500 users I want to create on the new system?
What I want essentially to create the same app users as were on the source DB but not bring over SYSTEM, SCOTT etc, etc.
Can you get the user creation DDL without a FULL export?
|
|
|
|
Re: Exporting USER DLL only [message #136551 is a reply to message #136547] |
Thu, 08 September 2005 12:52 |
samweber
Messages: 5 Registered: September 2005
|
Junior Member |
|
|
Yes, what I want is to duplicate all the users who have a particular default tablespace. The problem though is that this is at a customer site so I do not have their individual user passwords (and do not want to see theirs). A full export/import can dup their passwords too but .. brings in users I do not want. I actually have written a PL/SQL script which can dup all the users with generic passwords but.. would like to find a way to dup them with their original passwords so 500 users do not have to change their passwords again through the app.
Any thoughts there?
|
|
|
|
Re: Exporting USER DLL only [message #136560 is a reply to message #136554] |
Thu, 08 September 2005 14:02 |
samweber
Messages: 5 Registered: September 2005
|
Junior Member |
|
|
ok, so if you use the clause "identified by values 'encrypted_password'" it will convert the encrypted version for you back to the correct original... Great! That should solve the problem for me. That's very handy info.
Thanks very much for your help on this...
Sam
|
|
|