Oracle Ebs-sql (SYS-12): Query the settings of each profile. SQL

Source: Internet
Author: User

SELECT Pro.profile_option_name,

Pro.user_profile_option_name,

Lev.level_type type,

--lev.level_code,

Lev.level_name,

Prv.profile_option_value

From APPS.FND_PROFILE_OPTIONS_VL Pro,

Applsys.fnd_profile_option_values PRV,

(SELECT 10001 level_id,

' Site ' Level_type,

0 Level_value,

' Site ' Level_code,

' Site ' level_name

From dual

UNION All

SELECT 10002 level_id,

' App ' Level_type,

app.application_id Level_value,

App.application_short_name Level_code,

App.application_name Level_name

From APPS.FND_APPLICATION_VL app

UNION All

SELECT 10003 level_id,

' Resp ' Level_type,

resp.responsibility_id Level_value,

Resp.responsibility_key Level_code,

Resp.responsibility_name Level_name

From Apps.fnd_responsibility_vl resp

UNION All

SELECT 10004 level_id,

' User ' Level_type,

usr.user_id Level_value,

Usr.user_name Level_code,

Usr.user_name Level_name

From Applsys.fnd_user usr) lev

WHERE pro.profile_option_id = prv.profile_option_id (+) and prv.level_id = lev.level_id (+)

and Prv.level_value = Lev.level_value (+)--parameter profile, under which a condition can be used

And pro.user_profile_option_name like '% '--profile name

ORDER by Pro.profile_option_name,

Lev.level_type, Lev.level_name;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.