<?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: SARGable functions in SQL Server	</title>
	<atom:link href="https://lobsterpot.com.au/blog/2010/01/22/sargable-functions-in-sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://lobsterpot.com.au/blog/2010/01/22/sargable-functions-in-sql-server/</link>
	<description></description>
	<lastBuildDate>Mon, 27 Nov 2023 02:37:41 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.1</generator>
	<item>
		<title>
		By: Deni		</title>
		<link>https://lobsterpot.com.au/blog/2010/01/22/sargable-functions-in-sql-server/#comment-7651</link>

		<dc:creator><![CDATA[Deni]]></dc:creator>
		<pubDate>Mon, 27 Nov 2023 02:37:41 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2010/01/22/sargable-functions-in-sql-server.aspx#comment-7651</guid>

					<description><![CDATA[Very useful information. Thank you so much, Rob! :)]]></description>
			<content:encoded><![CDATA[<p>Very useful information. Thank you so much, Rob! 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Simon		</title>
		<link>https://lobsterpot.com.au/blog/2010/01/22/sargable-functions-in-sql-server/#comment-784</link>

		<dc:creator><![CDATA[Simon]]></dc:creator>
		<pubDate>Thu, 29 Apr 2021 15:43:06 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2010/01/22/sargable-functions-in-sql-server.aspx#comment-784</guid>

					<description><![CDATA[Very helpful thanks and also thanks for leaving the redirect from https://blogs.msmvps.com/robfarley/2010/01/22/sargable-functions-in-sql-server-2/]]></description>
			<content:encoded><![CDATA[<p>Very helpful thanks and also thanks for leaving the redirect from <a href="https://blogs.msmvps.com/robfarley/2010/01/22/sargable-functions-in-sql-server-2/" rel="nofollow ugc">https://blogs.msmvps.com/robfarley/2010/01/22/sargable-functions-in-sql-server-2/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: The SQL feature I&#039;m still waiting for - LobsterPot Blogs		</title>
		<link>https://lobsterpot.com.au/blog/2010/01/22/sargable-functions-in-sql-server/#comment-774</link>

		<dc:creator><![CDATA[The SQL feature I&#039;m still waiting for - LobsterPot Blogs]]></dc:creator>
		<pubDate>Tue, 10 Sep 2019 06:40:53 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2010/01/22/sargable-functions-in-sql-server.aspx#comment-774</guid>

					<description><![CDATA[[&#8230;] SARGable functions in SQL Server January 22, 2010 [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] SARGable functions in SQL Server January 22, 2010 [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Performance Tuning &#124; Writings About SQL Server		</title>
		<link>https://lobsterpot.com.au/blog/2010/01/22/sargable-functions-in-sql-server/#comment-773</link>

		<dc:creator><![CDATA[Performance Tuning &#124; Writings About SQL Server]]></dc:creator>
		<pubDate>Mon, 30 Jul 2018 14:21:17 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2010/01/22/sargable-functions-in-sql-server.aspx#comment-773</guid>

					<description><![CDATA[[&#8230;] query SARGability and use query hints only as a last option if adding indexes are more [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] query SARGability and use query hints only as a last option if adding indexes are more [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kamran		</title>
		<link>https://lobsterpot.com.au/blog/2010/01/22/sargable-functions-in-sql-server/#comment-771</link>

		<dc:creator><![CDATA[Kamran]]></dc:creator>
		<pubDate>Sat, 28 Jan 2017 06:47:15 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2010/01/22/sargable-functions-in-sql-server.aspx#comment-771</guid>

					<description><![CDATA[Essential to every SQL user. Thanks.]]></description>
			<content:encoded><![CDATA[<p>Essential to every SQL user. Thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Martin Smith		</title>
		<link>https://lobsterpot.com.au/blog/2010/01/22/sargable-functions-in-sql-server/#comment-770</link>

		<dc:creator><![CDATA[Martin Smith]]></dc:creator>
		<pubDate>Sun, 13 Oct 2013 15:56:06 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2010/01/22/sargable-functions-in-sql-server.aspx#comment-770</guid>

					<description><![CDATA[It would be cool as well if SQL Server recognized that a column sorted by datetime is also sorted by date and could leverage this in a &#034;GROUP BY CAST(OrderDate AS DATE)&#034; or when merge joining against a table with dates.
The sargability of casting to date should probably not be relied upon though.
It reads a larger range than optimum and also can give much poorer cardinality estimates (More details here &lt;a href=&quot;http://dba.stackexchange.com/questions/34047/cast-to-date-is-sargable-but-is-it-a-good-idea&quot; rel=&quot;nofollow ugc&quot;&gt;http://dba.stackexchange.com/questions/34047/cast-to-date-is-sargable-but-is-it-a-good-idea&lt;/a&gt; )]]></description>
			<content:encoded><![CDATA[<p>It would be cool as well if SQL Server recognized that a column sorted by datetime is also sorted by date and could leverage this in a &quot;GROUP BY CAST(OrderDate AS DATE)&quot; or when merge joining against a table with dates.<br />
The sargability of casting to date should probably not be relied upon though.<br />
It reads a larger range than optimum and also can give much poorer cardinality estimates (More details here <a href="http://dba.stackexchange.com/questions/34047/cast-to-date-is-sargable-but-is-it-a-good-idea" rel="nofollow ugc">http://dba.stackexchange.com/questions/34047/cast-to-date-is-sargable-but-is-it-a-good-idea</a> )</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob Farley		</title>
		<link>https://lobsterpot.com.au/blog/2010/01/22/sargable-functions-in-sql-server/#comment-772</link>

		<dc:creator><![CDATA[Rob Farley]]></dc:creator>
		<pubDate>Sun, 31 Jan 2010 18:59:34 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2010/01/22/sargable-functions-in-sql-server.aspx#comment-772</guid>

					<description><![CDATA[(it’s worth noting that the ‘date’ type is new in SQL 2008. If you’re on SQL 2005 still, then you won’t be able to run the query that uses it)]]></description>
			<content:encoded><![CDATA[<p>(it’s worth noting that the ‘date’ type is new in SQL 2008. If you’re on SQL 2005 still, then you won’t be able to run the query that uses it)</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
