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...

Difference between primary key and unique key ?

Answer Posted / deen dayal sharma

1. PRIMARY KEY & UNIQUE KEY both uniquely identity of each
row in a table.
2. BOTH keys will not contain repeated value.
3. One table may have more than one Unique Key Constraint But
it should have only one Primary Key Constraint column.
4. BUT UNIQUE KEY will contain NULL value but PRIMAY key will
not contain NULL value.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to check database size in Oracle?

1189


What is a user account in oracle?

1119


Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?

1879


What is merge in oracle?

1052


Where do you use decode and case statements?

988


What privilege is needed for a user to insert rows to tables in another schema?

1013


What is the quickest way to export a table to a flat file?

966


Point out the difference between user tables and data dictionary?

978


What are the attributes of cursor?

1048


How to see free space of each tablespace?

1033


How to grant create session privilege to a user in oracle?

997


what are steps for interface? where is exchange rate defined in which table?

2152


What is a data lock in oracle?

1111


What is backup in Oracle?

998


What are transaction isolation levels supported by oracle?

1066