<?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: SQL Optimization Tips/Questions</title>
	<atom:link href="http://www.techartifact.com/blogs/2009/12/sql-optimization-tipsquestions.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.techartifact.com/blogs/2009/12/sql-optimization-tipsquestions.html</link>
	<description>Techie blog</description>
	<lastBuildDate>Tue, 27 Jul 2010 06:04:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Keith</title>
		<link>http://www.techartifact.com/blogs/2009/12/sql-optimization-tipsquestions.html/comment-page-1#comment-1073</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Wed, 09 Dec 2009 03:46:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=904#comment-1073</guid>
		<description>For question 1, this would depend on the collation setting on the server etc.  If the system was set up to be case sensitive and you were performing a user search you would need to use the upper or lower or handle this issue in another tier of the system (not recommended ... coupling)</description>
		<content:encoded><![CDATA[<p>For question 1, this would depend on the collation setting on the server etc.  If the system was set up to be case sensitive and you were performing a user search you would need to use the upper or lower or handle this issue in another tier of the system (not recommended &#8230; coupling)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus Wollny</title>
		<link>http://www.techartifact.com/blogs/2009/12/sql-optimization-tipsquestions.html/comment-page-1#comment-1071</link>
		<dc:creator>Markus Wollny</dc:creator>
		<pubDate>Tue, 08 Dec 2009 08:52:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=904#comment-1071</guid>
		<description>I was irritated by the fact that you don&#039;t actually say which RDBMS you&#039;re talking about - I guess it&#039;s Microsoft SQL Server, the &#039;Transact-SQL&#039; mention really gave it away. On more general terms:

1b might actually be the best in case your RDBMS supports functional indexes and you have set such a functional index on lower(column_name). This is an option with PostgreSQL and Oracle, though not (yet) for MySQL, don&#039;t know about other RDBMS support for functional indexes - Microsoft SQL Server may not be among the lucky lot here.

As to 2c: Again, if you have functional indexes available, such a mixing of column_name and function may not prevent you from using indexes, though in this case it surely will, GetDate() being a volatile function (unlike lower()).</description>
		<content:encoded><![CDATA[<p>I was irritated by the fact that you don&#8217;t actually say which RDBMS you&#8217;re talking about &#8211; I guess it&#8217;s Microsoft SQL Server, the &#8216;Transact-SQL&#8217; mention really gave it away. On more general terms:</p>
<p>1b might actually be the best in case your RDBMS supports functional indexes and you have set such a functional index on lower(column_name). This is an option with PostgreSQL and Oracle, though not (yet) for MySQL, don&#8217;t know about other RDBMS support for functional indexes &#8211; Microsoft SQL Server may not be among the lucky lot here.</p>
<p>As to 2c: Again, if you have functional indexes available, such a mixing of column_name and function may not prevent you from using indexes, though in this case it surely will, GetDate() being a volatile function (unlike lower()).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ankit Goyal</title>
		<link>http://www.techartifact.com/blogs/2009/12/sql-optimization-tipsquestions.html/comment-page-1#comment-1070</link>
		<dc:creator>Ankit Goyal</dc:creator>
		<pubDate>Sun, 06 Dec 2009 08:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=904#comment-1070</guid>
		<description>Hello Martin,
Yes you are correct. But queries were written to stress the fact that we should avoid using functions and &quot;*&quot; in queries and not logic</description>
		<content:encoded><![CDATA[<p>Hello Martin,<br />
Yes you are correct. But queries were written to stress the fact that we should avoid using functions and &#8220;*&#8221; in queries and not logic</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Smith</title>
		<link>http://www.techartifact.com/blogs/2009/12/sql-optimization-tipsquestions.html/comment-page-1#comment-1069</link>
		<dc:creator>Martin Smith</dc:creator>
		<pubDate>Sat, 05 Dec 2009 23:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=904#comment-1069</guid>
		<description>1a and 1b are not equivalent. 1b will not return data for Name or any other mixed case &#039;NaMe&#039; .</description>
		<content:encoded><![CDATA[<p>1a and 1b are not equivalent. 1b will not return data for Name or any other mixed case &#8216;NaMe&#8217; .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention SQL Optimization Tips/Questions &#124; TechArtifact -- Topsy.com</title>
		<link>http://www.techartifact.com/blogs/2009/12/sql-optimization-tipsquestions.html/comment-page-1#comment-1068</link>
		<dc:creator>Tweets that mention SQL Optimization Tips/Questions &#124; TechArtifact -- Topsy.com</dc:creator>
		<pubDate>Sat, 05 Dec 2009 14:58:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=904#comment-1068</guid>
		<description>[...] This post was mentioned on Twitter by darshanabafna, Ankit Goyal. Ankit Goyal said: SQL Optimization Tips/Questions http://bit.ly/57zl49 [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by darshanabafna, Ankit Goyal. Ankit Goyal said: SQL Optimization Tips/Questions <a href="http://bit.ly/57zl49" rel="nofollow">http://bit.ly/57zl49</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PimpThisBlog.com</title>
		<link>http://www.techartifact.com/blogs/2009/12/sql-optimization-tipsquestions.html/comment-page-1#comment-1067</link>
		<dc:creator>PimpThisBlog.com</dc:creator>
		<pubDate>Sat, 05 Dec 2009 14:56:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=904#comment-1067</guid>
		<description>&lt;strong&gt;SQL Optimization Tips/Questions &#124; TechArtifact...&lt;/strong&gt;

Thank you for submitting this cool story - Trackback from PimpThisBlog.com...</description>
		<content:encoded><![CDATA[<p><strong>SQL Optimization Tips/Questions | TechArtifact&#8230;</strong></p>
<p>Thank you for submitting this cool story &#8211; Trackback from PimpThisBlog.com&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DotNetShoutout</title>
		<link>http://www.techartifact.com/blogs/2009/12/sql-optimization-tipsquestions.html/comment-page-1#comment-1065</link>
		<dc:creator>DotNetShoutout</dc:creator>
		<pubDate>Fri, 04 Dec 2009 06:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=904#comment-1065</guid>
		<description>&lt;strong&gt;SQL Optimization Tips/Questions &#124; TechArtifact...&lt;/strong&gt;

Thank you for submitting this cool story - Trackback from DotNetShoutout...</description>
		<content:encoded><![CDATA[<p><strong>SQL Optimization Tips/Questions | TechArtifact&#8230;</strong></p>
<p>Thank you for submitting this cool story &#8211; Trackback from DotNetShoutout&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
