DBA Data[Home] [Help]

VIEW: APPS.IGS_AD_ADM_UNIT_STAT

Source

View Text - Preformatted

SELECT tab.rowid row_id, tab.creation_date creation_date, tab.last_updated_by last_updated_by, tab.last_update_date last_update_date, tab.last_update_login last_update_login, tab.org_id org_id, tab.created_by created_by, tab.closed_ind closed_ind, tab.effective_progression_ind effective_progression_ind, tab.effective_time_elapsed_ind effective_time_elapsed_ind, tab.administrative_unit_status administrative_unit_status, tab.unit_attempt_status unit_attempt_status, tab.description description, tab.show_on_offic_ntfctn_ind show_on_offic_ntfctn_ind FROM igs_ad_adm_unit_stat_all tab WHERE NVL (tab.org_id , NVL(TO_NUMBER(DECODE(SUBSTRB(USERENV('CLIENT_INFO'),1,1),' ',NULL,SUBSTRB(USERENV('CLIENT_INFO'),1,10))),-99)) = NVL(TO_NUMBER(DECODE(SUBSTRB(USERENV('CLIENT_INFO'),1,1),' ',NULL,SUBSTRB(USERENV('CLIENT_INFO'),1,10))),-99)
View Text - HTML Formatted

SELECT TAB.ROWID ROW_ID
, TAB.CREATION_DATE CREATION_DATE
, TAB.LAST_UPDATED_BY LAST_UPDATED_BY
, TAB.LAST_UPDATE_DATE LAST_UPDATE_DATE
, TAB.LAST_UPDATE_LOGIN LAST_UPDATE_LOGIN
, TAB.ORG_ID ORG_ID
, TAB.CREATED_BY CREATED_BY
, TAB.CLOSED_IND CLOSED_IND
, TAB.EFFECTIVE_PROGRESSION_IND EFFECTIVE_PROGRESSION_IND
, TAB.EFFECTIVE_TIME_ELAPSED_IND EFFECTIVE_TIME_ELAPSED_IND
, TAB.ADMINISTRATIVE_UNIT_STATUS ADMINISTRATIVE_UNIT_STATUS
, TAB.UNIT_ATTEMPT_STATUS UNIT_ATTEMPT_STATUS
, TAB.DESCRIPTION DESCRIPTION
, TAB.SHOW_ON_OFFIC_NTFCTN_IND SHOW_ON_OFFIC_NTFCTN_IND
FROM IGS_AD_ADM_UNIT_STAT_ALL TAB
WHERE NVL (TAB.ORG_ID
, NVL(TO_NUMBER(DECODE(SUBSTRB(USERENV('CLIENT_INFO')
, 1
, 1)
, ' '
, NULL
, SUBSTRB(USERENV('CLIENT_INFO')
, 1
, 10)))
, -99)) = NVL(TO_NUMBER(DECODE(SUBSTRB(USERENV('CLIENT_INFO')
, 1
, 1)
, ' '
, NULL
, SUBSTRB(USERENV('CLIENT_INFO')
, 1
, 10)))
, -99)