can primery key be a non clustered index?

Answer Posted / vinoth

Yes,Its Possible.Eg( Select Eid,Did,Ename from Employee)
.Create table with primary key column(Eid).This time
Primary key column ACT As a CLUSTERDE INDEX for Default.

Suppose User directly create Did COLUMN with CLUSTEREDINDEX
at this time Primary key column act as a NONCLUSTEREDINDEX.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does a profiler work?

525


How to execute the cursor queries with "open" statements?

621


1.what is the diff between nolock optimizer and read uncommitted isolation? 2.what is the diff between revoke and deny? 3.what is percieved down time? 4.whether password protection are required for backups?if yes why?if no why? 5.what is fill factor? 6.what is cost analysis? 7.what is mean by piece meal restore? 8.what is 'rowguidcol'? 9.impersonate permission? 10.what is selectivity?

1639


what is difference between NULL and ISNULL in SQL Server 2008?

586


How to return the second 5 rows in ms sql server?

642






What is the federation in sql azure?

79


How to connect ms access to sql servers through odbc?

561


How many columns can we include on clustered index ?

516


What are system databases into sql server (2005/2008) : sql server database administration

581


How to integrate the ssrs reports in application?

550


What are the pros and cons of putting a scalar function in a queries select list or in the where clause?

732


explain what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration

655


what are different types of backups available in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

526


Do you know what is difference between stored procedure and user defined function?

621


What is inner join in sql server joins?

554