<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Finding the Right Index for this SQL Statement</title>
	<atom:link href="http://hoopercharles.wordpress.com/2010/04/01/finding-the-right-index-for-this-sql-statement/feed/" rel="self" type="application/rss+xml" />
	<link>http://hoopercharles.wordpress.com/2010/04/01/finding-the-right-index-for-this-sql-statement/</link>
	<description>Miscellaneous Random Oracle Topics: Stop, Think, ... Understand</description>
	<lastBuildDate>Thu, 23 May 2013 04:02:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Charles Hooper</title>
		<link>http://hoopercharles.wordpress.com/2010/04/01/finding-the-right-index-for-this-sql-statement/#comment-605</link>
		<dc:creator><![CDATA[Charles Hooper]]></dc:creator>
		<pubDate>Wed, 07 Apr 2010 10:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=1832#comment-605</guid>
		<description><![CDATA[That is a very good article, thanks for linking to it.

Fortunately, in my case the EMPLOYEE_ID column has a NOT NULL constraint, so I would not need to add the constant value 1 to the index definition to make certain that all rows in the table are included in the index.  If the EMPLOYEE_ID column could contain NULL values, the index definition that you suggested is a perfect solution (sorry, I should have mentioned the NOT NULL constraint on that column).

I know that I had read Richard Foote&#039;s article in the past, but I had completely forgotten about the possibility of adding a constant to the index definition.]]></description>
		<content:encoded><![CDATA[<p>That is a very good article, thanks for linking to it.</p>
<p>Fortunately, in my case the EMPLOYEE_ID column has a NOT NULL constraint, so I would not need to add the constant value 1 to the index definition to make certain that all rows in the table are included in the index.  If the EMPLOYEE_ID column could contain NULL values, the index definition that you suggested is a perfect solution (sorry, I should have mentioned the NOT NULL constraint on that column).</p>
<p>I know that I had read Richard Foote&#8217;s article in the past, but I had completely forgotten about the possibility of adding a constant to the index definition.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jametong</title>
		<link>http://hoopercharles.wordpress.com/2010/04/01/finding-the-right-index-for-this-sql-statement/#comment-604</link>
		<dc:creator><![CDATA[jametong]]></dc:creator>
		<pubDate>Wed, 07 Apr 2010 09:21:58 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=1832#comment-604</guid>
		<description><![CDATA[http://richardfoote.wordpress.com/2008/01/23/indexing-nulls-empty-spaces/

you can the index tips from the above url.]]></description>
		<content:encoded><![CDATA[<p><a href="http://richardfoote.wordpress.com/2008/01/23/indexing-nulls-empty-spaces/" rel="nofollow">http://richardfoote.wordpress.com/2008/01/23/indexing-nulls-empty-spaces/</a></p>
<p>you can the index tips from the above url.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jametong</title>
		<link>http://hoopercharles.wordpress.com/2010/04/01/finding-the-right-index-for-this-sql-statement/#comment-603</link>
		<dc:creator><![CDATA[jametong]]></dc:creator>
		<pubDate>Wed, 07 Apr 2010 09:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=1832#comment-603</guid>
		<description><![CDATA[can try this index and check the result..

CREATE INDEX IND_LT_EMPLOYEE_HW ON LABOR_TICKET(EMPLOYEE_ID,HOURS_WORKED,1);

This index force the null values of HOURS_WORKED integrate into the index, and so you will not need to use the index hint .]]></description>
		<content:encoded><![CDATA[<p>can try this index and check the result..</p>
<p>CREATE INDEX IND_LT_EMPLOYEE_HW ON LABOR_TICKET(EMPLOYEE_ID,HOURS_WORKED,1);</p>
<p>This index force the null values of HOURS_WORKED integrate into the index, and so you will not need to use the index hint .</p>
]]></content:encoded>
	</item>
</channel>
</rss>
