can primery key be a non clustered index?

Answer Posted / praveen

No, its not possible to hving Primary key with Non Clusterd
Index, because whenever we have to make a column as Primary
Key, it will create a Clusterd Index on that Column
automatically, it is due to the concept of paging, thats
why we can have only 1 primay key and 1 clusterd index per
Table...Enjoy :-)

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you give me some DBCC command options?(Database consistency check) - DBCC CHECKDB - Ensures that tables in the db and the indexes are correctly linked.and DBCC CHECKALLOC - To check that all pages in a db are correctly allocated. DBCC SQLPERF - It gives report on current usage of transaction log in percentage. DBCC CHECKFILEGROUP - Checks all tables file group for any damage.

2026


What are drillthrough reports?

102


What is function of master database?

94


What are the fixed server level roles? : sql server security

546


Is the primary key column of a table an index in ms sql server?

535






What are the different type of replication in sql server?

535


What programming language would you use to create embedded functions in ssrs?

122


Write a sql query to delete duplicate records from a table called table1

582


Can binary strings be converted into numeric or float data types?

548


How many types of keys are there?

526


Does index slows down insert statements?

584


How to make remote connection in database?

592


What are the types of subquery?

546


Write a SQL queries on Self Join and Inner Join.

615


What is RMS migrations?

1698