New_Application_from_last_30_days

 SELECT DISTINCT 

APP.DISPLAYNAME as [Display Name],

DT.DISPLAYNAME AS Deployment_OR_ProgramName,

V_CONTENTINFO.CONTENTSOURCE as SourcePath, 

V_CONTENTINFO.SOURCESIZE as SOURCESIZE, 

dt.DateCreated as CreatedDate,

dt.CreatedBy

FROM 

DBO.FN_LISTDEPLOYMENTTYPECIS(1033) AS DT 

INNER JOIN DBO.FN_LISTLATESTAPPLICATIONCIS(1033) AS APP ON DT.APPMODELNAME = APP.MODELNAME 

LEFT OUTER JOIN V_CONTENTINFO ON DT.CONTENTID = V_CONTENTINFO.CONTENT_UNIQUEID

WHERE 

(DT.ISLATEST = 1) and dt.DateCreated >= DateAdd(dd,-30,GetDate())

order by dt.CreatedBy

Comments

Popular posts from this blog

powershell script to export applications and its requirement in weird way

get-allrecent udpated logs

TASK sequence duration report