When do you create cluster and noncluster index?

Answer Posted / krimish shah

Table can have only one clusert index. When we create
primary key on a table , it will generate a Cluster index
based on this primary key and physically sort and store the
data in order of clusterd index.

Non Cluster index are used to make search more effiecient
on table for given columns on which we have speicfied non
clustered index. Non cluster index have their own separate
storage.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is user defined stored procedures?

564


What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?

690


What is analysis service repository?

586


What is the dbcc command and why is it used?

571


What is cross join in sql server joins?

595






How to add a new column to an existing table with "alter table ... Add" in ms sql server?

577


What is a join in sql?

587


How to check what was the last restore transaction LSN in Log shipping or Mirroring? when we don't have a Monitor or witness server.

3372


While migrating Microsoft SQL Server 2008 database to SQL Azure, what can be done to ensure the database connectivity does not degrade?

87


What is the name of the Database which IBM mainframe uses?

540


What is an execution plan? When would you use it?

574


What are the operating modes in which database mirroring runs?

606


What is cursors? And what are the different types of cursor?

553


What are approximate numeric data types in ms sql server?

589


What is the minimum and maximum number of partitions required for a measure group? : sql server analysis services, ssas

597