can primery key be a non clustered index?

Answer Posted / samar

Primary key is also known as clusterd index which is
physical structure .And noncluster index is logical
structure .

therefore Primary key cant be a nonclustered index. and
when we are creating primary key on a table system
understands it as creation of clustered index.

this is the reason one table can have one primary key

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What command must you use to include the not null constraint after a table has already been created?

645


What is sql service broker?

661


How do I debug a stored procedure in sql server?

622


Explain what are the basic functions for master, msdb, model, tempdb databases?

618


What is query parameter in ssrs?

122






What is the difference between clustered and non-clustered indexes in ms sql server?

584


What is the difference between count and distinct count?

544


Define ACID properties in a Database?

707


What is sql server transaction log file?

594


What is the maximum size of a dimension? : sql server analysis services, ssas

657


When we should use @@error?

626


Why is there a performance difference between two similar queries where one uses union and the other uses union all?

611


What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?

634


What is exporting and importing utility?

694


What is the difference between deallocate cursor and close cursor?

819