Can we create clustered index on non primary key column

Answer Posted / rima

NO.If the table has the primary key column, then by default
it will have a clustered index on that primary key
cloumn.So if you want to create a clustered index on non
primary key column then you have to create it before
setting a column as the primary key column or u have to
delete the clustered Primary key columns index to create a
new one.but it is recommended to have a clustered index on
primary key column.

Is This Answer Correct ?    17 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i have made a project i vb.net n created a .exe of it after installing it in to any pc, the database (sql express) is not geting accesed i.e the aplication cuts the link of the database, so plz help in this matter.

1619


Define magic tables in sql server?

781


What are the default system databases in sql server 2000?

723


What do you mean by data integrity?

820


What do we need queues in sql service broker?

741


How can we determine what objects a user-defined function depends upon?

729


What is sub-query in sql server?

921


Create a dts package to produce a text file using the ‘update statistics’ command for the tables in a database with obsolete statistics.

746


What are the new features are introduced in sql server 2012 reporting services?

123


Tell me time data type, datetime2, datetimeoffset data type in sql server 2008?

762


What is the rdl file?

100


Where the sql logs gets stored?

744


What is data modification?

722


Do you know what are the restrictions that views have to follow?

844


Every night you run a full backup after every 3 three hours you make a differential backup every hour you make an incremental backup in a worst-case scenario, how much work you can lose?

725