What is Covering Indexes?
Plz explain with example

Answer Posted / lekhraj deshmukh

An index covers the query if all the columns specified in
the query are part of the index. These are the columns that
are all columns referenced in the query, not just columns in
a WHERE clause.

eq:-SELECT DISTINCT lower(orig_airport) FROM Flights

here orig_airport is a index column.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain can you implement data mining in ssrs?

106


What is the default fill factor value?

576


What are the underflow and overflow behaviors on float literals?

572


Will the writetext statement activate a trigger?

565


What does REVERT do in SQL Server 2005?

557






What is the difference between nvl and nvl2?

549


what happens on checkpoint? : Sql server database administration

503


What is user-defined function?

565


If you want to send some data from access database to sql server database. What are different component of ssis will you use?

503


How to generate create view script on an existing view?

562


How many tables can be joined in SQL Server?

590


Can select statements be used on views in ms sql server?

580


Why do we use functions?

507


How to create an index on an existing table in ms sql server?

493


what are database files and filegroups? : Sql server database administration

497