what is difference between primary key and Unique

Answer Posted / sivasankar k.c

Primary key: it is clustered index. it not allows null
values. Only one primary in each table.

Unique Key: it is non clustered index. Unique key allows
null values.its allows only one null value. More than one
unique key in table.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the standby server?

682


Why main is user defined function?

747


Where are stored procedures in sql server?

746


Describe how to use linked server?

689


How do I get to sql server configuration manager?

693






How to enter comments in transact-sql statements?

713


What are distributed partitioned views?

813


What are the advantages of the mirroring?

777


While using a cursor, how can you differentiate between a deleted row and a row that has been inserted with null data values?

750


Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting are possible?

665


What is master database? : SQL Server Architecture

709


How to Sync Two SQL Azure Databases?

111


Can you explain powershell included in sql server 2008?

669


What do you mean by data manipulation language?

764


How to create database with physical files specified in ms sql server?

722