DBA Data[Home] [Help]

VIEW: APPS.EDW_BRES_PLANT_LCV

Source

View Text - Preformatted

SELECT mp.organization_code ,'ALL' ,inst.instance_code , mp.organization_code ,substrb( mp.organization_code,1,320) ,org.name||'('||bg.name||')' ,mp.organization_code ,NULL ,mp.last_update_date ,mp.creation_date ,NULL ,NULL ,NULL ,NULL ,NULL ,NULL from hr_all_organization_units bg, hr_all_organization_units org, mtl_parameters mp, edw_local_instance inst WHERE bg.organization_id = org.business_group_id AND org.organization_id = mp.organization_id with read only
View Text - HTML Formatted

SELECT MP.ORGANIZATION_CODE
, 'ALL'
, INST.INSTANCE_CODE
, MP.ORGANIZATION_CODE
, SUBSTRB( MP.ORGANIZATION_CODE
, 1
, 320)
, ORG.NAME||'('||BG.NAME||')'
, MP.ORGANIZATION_CODE
, NULL
, MP.LAST_UPDATE_DATE
, MP.CREATION_DATE
, NULL
, NULL
, NULL
, NULL
, NULL
, NULL
FROM HR_ALL_ORGANIZATION_UNITS BG
, HR_ALL_ORGANIZATION_UNITS ORG
, MTL_PARAMETERS MP
, EDW_LOCAL_INSTANCE INST
WHERE BG.ORGANIZATION_ID = ORG.BUSINESS_GROUP_ID
AND ORG.ORGANIZATION_ID = MP.ORGANIZATION_ID WITH READ ONLY