Can we create clustered index on non primary key column
Answer Posted / kaushik ganguly
We know sql server creates a clustered index by default
when we create a primary key. If you create a PK first and
then try to assign a candidate key a clustered index then
it is not possible bcos sql server allows one clustered
index per table.
But...
If you make a candidate key a clustered index and then
define the primary key sql server doesnot create clustered
index for the Primary Key column.
So the answer is yes...you can create a clustered index on
non-pk column :D
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
If you want to send some data from access database to sql server database. What are different component of ssis will you use?
What do you mean by authentication modes in sql server?
Data table as parameter in sql server?
Explain different types of collation sensitivity?
What is the maximum size of a dimension? : sql server analysis services, ssas
How global temporary tables are represented and its scope?
How to enable/disable indexes?
What are the new features in SQL Server 2005 when compared to SQL Server 2000?
Explain trigger and its types?
How many joins in sql server?
What is the difference between web edition and business edition?
between cast and convert which function would you prefer and why?
What are the different types of join?
can a database be shrunk with users active? : Sql server administration
What is a database in ms sql server?