Skip to content

Commit 9cb4e4a

Browse files
authored
Update Report_Snapshots.sql
1 parent f31b2f2 commit 9cb4e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Miscellaneous/Scripts/SQL/Report_Snapshots.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ BEGIN
1212
--EXEC [admin].[report_snapshots] @ReportName = NULL, @ReportFormat = 'PDF' --all snapshots for every report
1313

1414
SELECT
15-
[ReportName] = c.[Name]
15+
[ReportName] = [c].[Name]
1616
, [SnaphsotDate] = FORMAT([h].[snapshotdate], 'dd-MMM-yyyy')
1717
, [FileName] = FORMAT([h].[snapshotdate], 'yyyyMMdd')
1818
, [Url_Download] = 'http://' + @@SERVERNAME + '/ReportServer/Pages/ReportViewer.aspx?' + [c].[path] + '&rs:Command=Render&rs:Format=' + @ReportFormat + '&rs:Snapshot=' + FORMAT([h].[snapshotdate], 'yyyy-MM-ddTHH:mm:ss')

0 commit comments

Comments
 (0)