So I have this select statement:
SELECT sql1.ExtensionSettings
FROM (SELECT *
FROM [DBN-SERVER].[ReportServer].[dbo].[Subscriptions]
) sql1
WHERE report_oid = 'REPORT_ID' AND InactiveFlags = 0 AND
(sql1.ExtensionSettings LIKE '%<Value>EXCELOPENXML</Value>%') OR
(sql1.ExtensionSettings LIKE '%<Value>PDF</Value>%')
That statement will return 40 rows of this:
"["<ParameterValues><ParameterValue><Name>TO</Name><Value></Value></ParameterValue><ParameterValue><Name>CC</Name><Value></Value></ParameterValue><ParameterValue><Name>IncludeReport</Name><Value>True</Value></ParameterValue><ParameterValue><Name>RenderFormat</Name><Value>EXCELOPENXML</Value></ParameterValue><ParameterValue><Name>Subject</Name><Value>AK Steel Daily Combined Order Status report for THE MILL STEEL CO-146159 (Excel version)</Value></ParameterValue><ParameterValue><Name>Comment</Name><Value>Attached is the daily order status report in Excel format</Value></ParameterValue><ParameterValue><Name>IncludeLink</Name><Value>False</Value></ParameterValue><ParameterValue><Name>Priority</Name><Value>NORMAL</Value></ParameterValue></ParameterValues>"]"
I need to extract everything in the tags... I know there is nothing showing here but I had to remove the emails... does anyone know who I go about doing this for 40 rows?