DBA Data[Home] [Help]

VIEW: APPS.FND_IMP_FILETYPECOUNT_VL

Source

View Text - Preformatted

SELECT snapshot_id, bug_no, file_type, SUM(DECODE(typeid,'not applied',1,0)) not_applied, SUM(DECODE(typeid,'upgrade',1,0)) upgrade, SUM(DECODE(typeid,'new',1,0)) new, patch_id from fnd_imp_psmaster2 group by snapshot_id, bug_no, patch_id, file_type having SUM(DECODE(typeid,'upgrade',1,0)) > 0 or SUM(DECODE(typeid,'new',1,0)) > 0
View Text - HTML Formatted

SELECT SNAPSHOT_ID
, BUG_NO
, FILE_TYPE
, SUM(DECODE(TYPEID
, 'NOT APPLIED'
, 1
, 0)) NOT_APPLIED
, SUM(DECODE(TYPEID
, 'UPGRADE'
, 1
, 0)) UPGRADE
, SUM(DECODE(TYPEID
, 'NEW'
, 1
, 0)) NEW
, PATCH_ID
FROM FND_IMP_PSMASTER2 GROUP BY SNAPSHOT_ID
, BUG_NO
, PATCH_ID
, FILE_TYPE HAVING SUM(DECODE(TYPEID
, 'UPGRADE'
, 1
, 0)) > 0 OR SUM(DECODE(TYPEID
, 'NEW'
, 1
, 0)) > 0