When do you create cluster and noncluster index?

Answer Posted / monal

Indexes are mainly used for faster retrival of the data
from the table or view.
Primary key is best candidate for creation of clustered
key: reason all the values in Primary Key column would be
unique. Also you can create clustered index on foreign key
column of table which is used quite frequently in the join
condition and on the column which is used frequently in the
where clause of the table.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between functions and stored procedures?

616


What are the different types of data sources in ssrs?

142


Tell me about builtinadministrator?

562


Explain different backup plans?

532


Explain powershell included in sql server 2008?

609






How to disable a login name in ms sql server?

591


What is change tracking in sql server?

545


What is the maximum number of index per table?

566


Explain collation?

622


What are the differences between “row_number()”, “rank()” and “dense_rank()”?

535


if you encounter this kind of an error message, what you need to look into to solve this problem? : Sql server database administration

525


Is null vs coalesce?

509


Explain what is analysis service repository?

534


Explain alternate key, candidate key and composite key in sql server?

522


What is a fan-out query in SQL Azure?

99