Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Covering Index

Author  Topic 

aoriju
Posting Yak Master

156 Posts

Posted - 2011-11-01 : 07:10:10
Why does a covering index improve performance?
Choice 1
A covering index is unique.
Choice 2
A covering index is clustered.
Choice 3
All of the fields in the WHERE and ORDER BY clause are indexed.
Choice 4
All tables are joined by primary keys.
Choice 5
All the fields in the SELECT list and the WHERE clause are within the index pages.

nigelrivett
Master Smack Fu Yak Hacker

3385 Posts

Posted - 2011-11-01 : 07:13:36
Which do you think are not true? How many do you have left that you are unsure about?

Do you know what a covering index is?
==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

jassi.singh
Posting Yak Master

122 Posts

Posted - 2011-11-01 : 07:18:04
Improvement is due to the fact that the <b>nonclustered index</b> contained all of the required information to resolve the query. No Key Lookups were required. An index that contains all information required to resolve the query is known as a "Covering Index"; it completely covers the query.

Please mark answer as accepted if it helped you.

Thanks,
Jassi Singh
Go to Top of Page

aoriju
Posting Yak Master

156 Posts

Posted - 2011-11-01 : 07:19:58
I am seeking the ans only
Go to Top of Page

nigelrivett
Master Smack Fu Yak Hacker

3385 Posts

Posted - 2011-11-01 : 07:34:35
No point really in having the answer if you don't know what it means.

Do you know what an index is?

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

lionofdezert
Aged Yak Warrior

885 Posts

Posted - 2011-11-01 : 07:37:07
Check out the evidence
http://connectsql.blogspot.com/2011/01/sql-server-bookmark-lookups-query.html

--------------------------
http://connectsql.com/
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-11-01 : 07:39:26
quote:
Originally posted by aoriju

I am seeking the ans only


whats the use in just knowing the answer without understanding what it is?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -