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

How to rebuild an index in oracle?

968


How to change program global area (pga) in oracle?

1031


What are temporal data types in oracle?

1064


How to handle a single quote in oracle sql?

971


Can we use bind variables in oracle stored procedure?

897


How to use subqueries with the exists operator in oracle?

968


Explain the use of full option in exp command.

1054


What is oracle database client?

974


How to delete multiple rows from a table in oracle?

1003


How to name query output columns in oracle?

1130


How to compare dates in oracle sql?

1040


What is a user account in oracle?

1064


6. Display the client name and order date for all orders using the traditional method.

2237


what are archived logs?

2142


What is the data pump export utility?

1021