By default, SQL Server only stores 30 days of data in the ... t1.ReportID = t2.ItemID AND t2.Type <> 1 ) SELECT DISTINCT t1.UserName,t2.Name AS ReportName ,SUBSTRING(t2.Path,2,LEN(t2.Path)-LEN(t2.Name)-1) AS Folder,t2.Type INTO #temp01 FROM RankedReports ...
↧