Skip to content

Instantly share code, notes, and snippets.

SELECT proj.PROJ_NAME AS ProjectName
,proj.PROJ_UID as ProjectUID
,CT.Customer
,PCC.CostCenter
,PP.ProjectAccount
,pr_owner.RES_NAME AS ProjectOwner
,pr_owner.RES_UID as OwnerResourceNameUID
,CASE WHEN PPS.ProjectStatus IS NULL THEN 'Undefined' ELSE PPS.ProjectStatus END AS ProjectStatus
FROM (SELECT PROJ_UID
,PROJ_NAME