<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: Why isn’t my filtered index being used?	</title>
	<atom:link href="https://lobsterpot.com.au/blog/2015/02/22/why-isnt-my-filtered-index-being-used/feed/" rel="self" type="application/rss+xml" />
	<link>https://lobsterpot.com.au/blog/2015/02/22/why-isnt-my-filtered-index-being-used/</link>
	<description></description>
	<lastBuildDate>Tue, 07 Jul 2020 23:06:39 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>
	<item>
		<title>
		By: Not Entirely Parameterized Dynamic SQL &#124; Erik Darling Data		</title>
		<link>https://lobsterpot.com.au/blog/2015/02/22/why-isnt-my-filtered-index-being-used/#comment-2555</link>

		<dc:creator><![CDATA[Not Entirely Parameterized Dynamic SQL &#124; Erik Darling Data]]></dc:creator>
		<pubDate>Tue, 07 Jul 2020 23:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3428#comment-2555</guid>

					<description><![CDATA[[&#8230;] Since we don&#8217;t, we can can use a trick that works on filtered indexes. [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Since we don&#8217;t, we can can use a trick that works on filtered indexes. [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Not Entirely Parameterized Dynamic SQL &#8211; Erik Darling Data		</title>
		<link>https://lobsterpot.com.au/blog/2015/02/22/why-isnt-my-filtered-index-being-used/#comment-2554</link>

		<dc:creator><![CDATA[Not Entirely Parameterized Dynamic SQL &#8211; Erik Darling Data]]></dc:creator>
		<pubDate>Wed, 30 Jan 2019 14:29:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3428#comment-2554</guid>

					<description><![CDATA[[&#8230;] Since we don&#8217;t, we can can use a trick that works on filtered indexes. [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Since we don&#8217;t, we can can use a trick that works on filtered indexes. [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob Farley		</title>
		<link>https://lobsterpot.com.au/blog/2015/02/22/why-isnt-my-filtered-index-being-used/#comment-2553</link>

		<dc:creator><![CDATA[Rob Farley]]></dc:creator>
		<pubDate>Tue, 21 Jun 2016 13:29:47 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3428#comment-2553</guid>

					<description><![CDATA[Oh Matt - I&#039;m totally in favour of using views to help developers make good decisions about predicates they should use. :)]]></description>
			<content:encoded><![CDATA[<p>Oh Matt &#8211; I&#8217;m totally in favour of using views to help developers make good decisions about predicates they should use. 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matt		</title>
		<link>https://lobsterpot.com.au/blog/2015/02/22/why-isnt-my-filtered-index-being-used/#comment-2552</link>

		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Tue, 21 Jun 2016 13:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3428#comment-2552</guid>

					<description><![CDATA[Nice article, this is quite subtle but very useful knowledge that needs to be thought about.
If filtered indexes are susceptible to this problem then is it a good alternative idea to embed the filter clause in a view, index the view and then query on the view? Clearly the developer has to know how to make this work safely but this may well satisfy a lot of situations where the filtered index might be applied.]]></description>
			<content:encoded><![CDATA[<p>Nice article, this is quite subtle but very useful knowledge that needs to be thought about.<br />
If filtered indexes are susceptible to this problem then is it a good alternative idea to embed the filter clause in a view, index the view and then query on the view? Clearly the developer has to know how to make this work safely but this may well satisfy a lot of situations where the filtered index might be applied.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob Farley		</title>
		<link>https://lobsterpot.com.au/blog/2015/02/22/why-isnt-my-filtered-index-being-used/#comment-2551</link>

		<dc:creator><![CDATA[Rob Farley]]></dc:creator>
		<pubDate>Wed, 25 Feb 2015 02:03:53 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3428#comment-2551</guid>

					<description><![CDATA[Hi Marcel,
Yes (as per my post that I linked to above), but if you use parameters (with OPTION (RECOMPILE)) then the QO needs to come up with a plan that is general and is unlikely to use your filtered index.]]></description>
			<content:encoded><![CDATA[<p>Hi Marcel,<br />
Yes (as per my post that I linked to above), but if you use parameters (with OPTION (RECOMPILE)) then the QO needs to come up with a plan that is general and is unlikely to use your filtered index.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Marcel		</title>
		<link>https://lobsterpot.com.au/blog/2015/02/22/why-isnt-my-filtered-index-being-used/#comment-2550</link>

		<dc:creator><![CDATA[Marcel]]></dc:creator>
		<pubDate>Wed, 25 Feb 2015 01:47:07 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3428#comment-2550</guid>

					<description><![CDATA[You can use parametrized dynamic SQL alternatively which is immune to injection.]]></description>
			<content:encoded><![CDATA[<p>You can use parametrized dynamic SQL alternatively which is immune to injection.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alvin Park		</title>
		<link>https://lobsterpot.com.au/blog/2015/02/22/why-isnt-my-filtered-index-being-used/#comment-2549</link>

		<dc:creator><![CDATA[Alvin Park]]></dc:creator>
		<pubDate>Mon, 23 Feb 2015 12:53:46 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3428#comment-2549</guid>

					<description><![CDATA[Well how can I register myselg on this site??]]></description>
			<content:encoded><![CDATA[<p>Well how can I register myselg on this site??</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
