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 differance unique key and primary key.

Answer Posted / madhu

unique key:
1.unique key will accept more than one null value.
2.whenever u created a unique key, then internally one non-clustered index will be created(one table can have more than one Non-clustered index).
3.one table can have more than one unique key.
Primary key:
1.One table should have one primary key only.
2.primary key will not accept null values.
3.whenever u created a primary key then internally one clustered index will be created(one table can have only one clustered index).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you modify a table in sql?

1165


How do I run a pl sql program?

1191


What is a mutating table and a constraining table?

1178


what are the limitations of identity column? : Transact sql

1162


What do you understand by pl/sql cursors?

1148


What does sign mean sql?

1183


What are the usages of sql?

1102


What is group by in sql?

1126


What is rollback?

1184


Can we call dml statement in function?

1099


what are rollup and cube in t-sql? : Transact sql

1149


How do you know if a relationship is 2nf?

994


What is normalisation and its types?

1044


Which normal form is best?

997


What port does sql server use?

1112