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 is difference between "Primary key" and "Unique key"?

Answer Posted / nitin gupta

Uniques: Enforce unique data in the database
it allows row containing null value but only once
It implements non clustered index.

primary key: Enforce unique data in the database
it don't allow any record containing null value
it implements clustered index (data physically
sorted)

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use views in stored procedure?

968


Why do we use joins?

984


When can we use the where clause and the having clause?

966


Can cursors be part of a trigger body?

1586


what are the nonstandard string types? : Sql dba

1083


What are sql*plus environment variables?

1030


Are views faster than queries?

916


How do I count rows in sql?

946


What is synchronized subquery?

1090


Why do we need unique key in a table?

882


How to pipe multiline string to isql?

959


How to display Row Number with Records in Oracle SQL Plus?

991


Does view store data in sql?

900


Explain some predefined exceptions.

989


what are date and time functions in mysql? : Sql dba

925