adspace


Why can there be only one clustered index and not more than one?

Answer Posted / Vipul Agrawal

In SQL Server, a table can have only one clustered index because a clustered index determines the physical order of data in the table. When multiple clustered indexes are created on a table, it leads to fragmentation and impacts performance. By allowing only one clustered index per table, SQL Server ensures that data is organized efficiently.n

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we do dml on views?

1037


Explain “row_number()” in sql server with an example?

1079


List out the different types of locks available in sql server?

1049


what is the difference between openrowset and openquery?

1193


Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

1022


What kind of problems occurs if we do not implement proper locking strategy?

1499


Why we use the openxml clause?

1078


What is a view in sql?

1040


How do I start sql server 2017?

1015


How do I create a trace in sql server?

1120


What are the different SQL Server Versions you have worked on?

1079


What are different types of constraints?

1000


What is clustered index

1085


Can we shrink data file in sql server?

1127


How to remove duplicate rows from table except one?

1088