What is Index ? Explain its Types?

Answers were Sorted based on User's Feedback



What is Index ? Explain its Types?..

Answer / sajjan singh

Indexes are data structures that help SQL Server to find
particular rows of data fastly.

In a database, an index allows the database program to find
data in a table without scanning the entire table.
An index in a database is a list of values in a table with
the storage locations of rows in the table that contain each
value.
Indexes can be created on either a single column or a
combination of columns in a table and are implemented in the
form of B-trees.

Clustered Index: "A clustered index is a special type of
index that reorders the way records in the table are
physically stored.
Therefore table can have only one clustered index. The leaf
nodes of a clustered index contain the data pages."

Non Clustered Index: "A nonclustered index is a special type
of index in which the logical order of the index does not
match the physical stored order of the rows on disk.
The leaf nodes of a nonclustered index does not consist of
the data pages. Instead, the leaf nodes contain index rows."

Is This Answer Correct ?    3 Yes 0 No

What is Index ? Explain its Types?..

Answer / dinesh rathod

Index is a one important concept in .Net. So you should know the basic idea about index in .Net.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SQL Server Interview Questions

What are the benefits and tasks of object explorer? : sql server management studio

0 Answers  


Hi Can any one tell me the Good institute to learn SQL esp for Data Base Testing or SQL from scratch to the proficiency level in Hyederabad and facult also. Thankyou well in advance

6 Answers  


Define normalisation?

0 Answers  


What is difference between clustered and non clustered index?

0 Answers  


Can I recover a damaged SQL Server 2008 database with the undamaged .mdb and .ldf files?

3 Answers   Apple,






Can we store videos inside the sql server table?

0 Answers  


Hi Friends, I have a table in which there are thousands of records and in city field there is NULL value for all records now i want to change that null value with distinct values in each record say delhi, bihar, agra, jaipur etc, what will be the query for that????? its not possible to update thousands of records one by one. is there any alternative ...? Plz help ... its urgent Thanx in advance

1 Answers  


What are the restrictions that views have to follow?

0 Answers  


What is pivot and unpivot?

0 Answers  


What is the difference between Normalization and De-normalization?

0 Answers   TCS,


What is stored in the mssqlsystemresource database? : sql server database administration

0 Answers  


what is a self join? Explain it with an example? : Sql server database administration

0 Answers  


Categories