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
Can you move the resources after pausing the node? : sql server database administration
What is outer join in sql server joins?
What is history table in sql server?
You are doing log shipping due to some reasons it is failing. How you will proceed from there
Define self join?
What is difference between clustered index and non clustered index?
Which are new data types introduced in sql server 2008?
What is a mutating table error and how can you get around it?
How to find out what is the default collation in a database?
How to list all user names in a database?
How to recover from sql injection? : sql server security
Explain datetimeoffset data type in sal server 2008?
How to drop existing views from a database in ms sql server?
What is sql language?
Retrieve the unique rows from table without using UNIQUE and DISTINCT keywords.