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 / alok

There is only two Point:
1. The not null constraint is by default added to primary key, it means, primary key attribute cannot accept null values, whereas, the attribute declared as unique can accept null values. It is the major difference between the two.
2. Secondly, we can have only one primary key in a relation, whereas, multiple attributes can be declared unique at the same time.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the attributes of the cursor?

1004


What is oracle update statement with inner join ?

1060


How to update values on multiple rows in oracle?

1034


What is catalog in Oracle?

1367


How to increment dates by 1 in oracle?

1089


What do you understand by database schema and what does it hold?

1230


Explain enable novalidate constraint.

1083


How to connect to oracle using service name instead of sid?

1026


How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?

1918


How to convert times to characters in oracle?

1027


Whether any commands are used for months calculation? If so, what are they?

1098


Design database draw er diagram for a certain scenario ?

4579


Explain what are clusters?

1110


can u send the sql dumps to sivakumarr1987@gmail.com plz help me

3053


How many anonymous blocks can be defined?

1184