What is Covering Indexes?
Plz explain with example

Answer Posted / virgilio

A covering index is when you run a Query and you use an
indexed field in you where Clause:

*--Primary Key Creates aclustered Index
Create table Students
(
Studentid int Primary Key not Null, *
StudentName Nvarchar(20) Null,
StudentLastName Nvarchar(20) Null
)

Se;ect * from Students where StudentID = 20

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to call stored procedure using http soap?

516


How to enter comments in transact-sql statements?

547


Can we make the the chages By Using the Sql if u know any function or process please inform me Actuall result: BRK1 Break 1 Part 1 00:01:00:00 60 BRK1 Break 1 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 BRK2 Break 2 Part 2 00:01:00:00 60 BRK2 Break 2 Part 3 00:01:00:00 60 BRK3 Break 3 Part 1 00:01:00:00 60 BRK3 Break 3 Part 2 00:01:00:00 60 Desired O/P: BRK1 Break 1 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 Part 3 00:01:00:00 60

1713


Tell me what are the advantages of using stored procedures?

566


How to use subqueries with the exists operators in ms sql server?

584






What is a bit datatype?

560


What is database dimension? : sql server analysis services, ssas

620


What are the different editions available in sql server 2000?

584


Why I am getting this error when dropping a database in ms sql server?

588


Explain the microsoft sql server delete command?

532


What is sql or structured query language?

679


What are the dmvs? : sql server database administration

593


What information is maintained within the msdb database?

537


How do you create type- insensitive operator?

565


Comment,Datatypes are unlimited

1624