Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What's the difference between a primary key and a unique key?

Answer Posted / karthick

PRIMARY KEY AND UNIQUE KEY

* Both Enforces Uniqueness
* Primary key Creates clustered index
unique key creates non clustered index
* primay key does not allows null value
unique key allows 1 null value

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I shrink an ldf file?

980


What are ddl triggers and types of ddl trigger?

1040


What is query processing?

942


Is it safe to delete log files?

920


Explain filestream storage of sql server 2008?

1020


How do triggers work?

943


Do you have any idea about the tcl commands?

964


What is clustered vs nonclustered index?

948


What number sorts of privileges are accessible in sql?

1037


What is the difference between composite index and covering index?

954


How to use "begin ... End" statement structures in ms sql server?

1049


How to find table changes in sql server?

1128


How to create a view on an existing table in ms sql server?

1128


Can sql servers link to other servers?

1093


What is used to replicate sessions between instances in coldfusion clusters?

1074