Skip to content

Instantly share code, notes, and snippets.

@lotsahelp
lotsahelp / SSRS - Force Description Update.sql
Created February 21, 2018 22:16
Forces SSRS catalog to update report definition based on report content.
USE ReportServer;
WITH XMLNAMESPACES
(
'http://schemas.microsoft.com/SQLServer/reporting/reportdesigner' AS rd,
DEFAULT 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'
)
--SELECT Report.value('(.)[1]', 'nvarchar(512)')
UPDATE c
SET c.Description = Report.value('(.)[1]', 'nvarchar(512)')