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

Difference between Inner vs outer joins?

0 Answers  


What are the properties of primary key?

0 Answers  


What is a benefit of using an after insert trigger over using a before insert trigger?

0 Answers  


How would you retrieve Unique rows from table without using UNIQUE and DISTINCT keyword?

2 Answers   Genpact,


in how many ways we can use count()

2 Answers  






If user is owning any SQL Objects, can we drop that user

0 Answers  


What is WITH CHECK OPTION

3 Answers   Karur Vysya Bank KVB,


What is a constant or literal in ms sql server?

0 Answers  


Differentiate between delete and truncate.

0 Answers  


What do you understand by a stored procedure?

0 Answers  


What is the sql server 2000 version number?

0 Answers  


What is the use of for clause?

0 Answers  


Categories