Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

extracting code behind a profile

829206Dec 23 2011 — edited Dec 23 2011
Is there a way to generate the code behind a profile? I tried "get_ddl" but it did not work as I guess Oracle does not treat profile as an Object. I guess i can use the expdp and dump the code to a file but is there any other way?


I'd like the output to be something like this ..

create profile PROD_USER limit
sessions_per_user 12
cpu_per_session unlimited
cpu_per_call unlimited
connect_time unlimited
idle_time 2500
logical_reads_per_session unlimited
composite_limit unlimited
private_sga unlimited
failed_login_attempts 3
password_life_time 180
password_reuse_time unlimited
password_reuse_max unlimited
password_grace_time 3
password_verify_function VERIFY_FUNCTION;

Thanks in advance
This post has been answered by Centinul on Dec 23 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 20 2012
Added on Dec 23 2011
6 comments
9,888 views