When do you create cluster and noncluster index?

Answer Posted / jerry joseph

A table can have 1 clustered index and 249 non-clustered indexes

indexes make sorting efficient

generally clustered index is ideal for the Primary Key

non-clustered indexes are ideal for columns which are used
in sorting (the columns in OrderBy)

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write an sql query for deleting duplicate rows?

551


What is inner join? Explain with an example?

688


What extended events?

546


What is the use of builtinadministrators group in sql server? : sql server security

531


Is it possible to import data directly from t-sql commands without using sql server integration services? If so, what are the commands?

855






What is SubQuery in SQL Server 2008

552


What are types of scd? : sql server analysis services, ssas

540


You have several tables, and they are joined together for querying. The tables contain both clustered indexes and non clustered indexes to optimize performance, how should you distribute the tables and their indexes onto different file groups?

556


What are the differences between char and varchar in ms sql server?

576


What is the difference between implicit and explicit transaction?

562


What is dimension table? : sql server analysis services, ssas

558


Which are the third-party tools used in sql server and why would you use them?

492


What do you understand by recursive stored procedure?

520


Can you name some of the dml commands in sql?

549


What is the difference between a check constraint and a rule?

624