<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>tim laqua dot com &#187; ReportingServices</title>
	<atom:link href="http://timlaqua.com/tag/reportingservices/feed/" rel="self" type="application/rss+xml" />
	<link>http://timlaqua.com</link>
	<description>Thoughts and Code from Tim Laqua</description>
	<lastBuildDate>Fri, 03 Feb 2012 23:12:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Searching for keywords in all Reporting Services (SSRS) reports</title>
		<link>http://timlaqua.com/2008/09/searching-for-keywords-in-all-reporting-services-ssrs-reports/</link>
		<comments>http://timlaqua.com/2008/09/searching-for-keywords-in-all-reporting-services-ssrs-reports/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 16:03:24 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[Scripts & Code]]></category>
		<category><![CDATA[bi]]></category>
		<category><![CDATA[business intelligence]]></category>
		<category><![CDATA[rdl]]></category>
		<category><![CDATA[reporting services]]></category>
		<category><![CDATA[ReportingServices]]></category>
		<category><![CDATA[reports]]></category>
		<category><![CDATA[ssrs]]></category>
		<category><![CDATA[tsql]]></category>

		<guid isPermaLink="false">http://timlaqua.com/?p=38</guid>
		<description><![CDATA[During impact analysis for any changes to existing database tables, cube dimensions, cube measures, etc, it's nice to know which reports are going to horribly break before your end-users let you know about it All of the rdl content for reports uploaded to SSRS is stored in the ReportingServices database in the Content column of [...]]]></description>
			<content:encoded><![CDATA[<p>During impact analysis for any changes to existing database tables, cube dimensions, cube measures, etc, it's nice to know which reports are going to horribly break before your end-users let you know about it <img src='http://timlaqua.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />   All of the rdl content for reports uploaded to SSRS is stored in the ReportingServices database in the Content column of the Catalog table (in binary, of course) so here's what I came up with to get the list of soon to be broken reports:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #66cc66;">&#91;</span>Path<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span> ContentText
<span style="color: #993333; font-weight: bold;">FROM</span>
<span style="color: #66cc66;">&#40;</span>
<span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #66cc66;">&#91;</span>Path<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span> cast<span style="color: #66cc66;">&#40;</span>cast<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#91;</span>content<span style="color: #66cc66;">&#93;</span><span style="color: #993333; font-weight: bold;">AS</span> varbinary<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">8000</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> varchar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">8000</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> <span style="color: #66cc66;">&#91;</span>ContentText<span style="color: #66cc66;">&#93;</span>
<span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #66cc66;">&#91;</span>catalog<span style="color: #66cc66;">&#93;</span> cat <span style="color: #993333; font-weight: bold;">WITH</span><span style="color: #66cc66;">&#40;</span>nolock<span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #66cc66;">&#91;</span>type<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">=</span><span style="color: #cc66cc;">2</span>
<span style="color: #66cc66;">&#41;</span> a
<span style="color: #993333; font-weight: bold;">WHERE</span> ContentText <span style="color: #993333; font-weight: bold;">LIKE</span> <span style="color: #ff0000;">'%ColumnName%'</span> 
	<span style="color: #993333; font-weight: bold;">OR</span> ContentText <span style="color: #993333; font-weight: bold;">LIKE</span> <span style="color: #ff0000;">'%columnname%'</span> 
	<span style="color: #993333; font-weight: bold;">OR</span> ContentText <span style="color: #993333; font-weight: bold;">LIKE</span> <span style="color: #ff0000;">'%MeasureName%'</span> 
	<span style="color: #993333; font-weight: bold;">OR</span> ContentText <span style="color: #993333; font-weight: bold;">LIKE</span> <span style="color: #ff0000;">'%AttributeName%'</span> 
	<span style="color: #993333; font-weight: bold;">OR</span> ContentText <span style="color: #993333; font-weight: bold;">LIKE</span> <span style="color: #ff0000;">'%etc...%'</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://timlaqua.com/2008/09/searching-for-keywords-in-all-reporting-services-ssrs-reports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

