How many index can be created for single table

Answer Posted / sureshsamatham

There can be 1 or more indexes in a table.Indexes can be
clustered or non clustered. A clustered index stores data
rows in the table based on their key values. Each table can
have only one clustered index as the key values in the data
rows are unique and the index is built on the unique key
column. Non-Clustered indexes have structures that are
different from the data rows. A non clustered index key
value is used to point to data rows that contain the key
value. This value is known as row locator. The structure of
the row locator is determined on the basis of the type of
storage of the data pages. If the data page is stored as a
heap, a row locator becomes a pointer to a row. If the data
page is stored in a clustered table the row locator is a
clustered index key. Clustered and Non clustered indexes can
be unique and indexes are automatically maintained for a
table or view whenever the data table is modified.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between primary key and clustered index?

506


what is the system function to get current user's user id? : Sql server database administration

554


Explain the properties of sub-query in sql server?

514


What are the common performance issues in sql server?

505


What is the stuff?

529






What is report rendering ?

102


Can you explain what are commit and rollback in sql?

491


How do you delete duplicate records in sql server?

515


how many bits ip address consist of? : Sql server database administration

466


What is updatable resultset?

518


Explain about nested stored procedure?

608


Scalability, Availability, Integration with internet, etc.)?

2437


How do you delete a data source?

554


What are the advantages of user-defined functions over stored procedures in sql server?

464


Can a function call a stored procedure in sql server?

529