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 / bhushan tatar

column having primary key constraint should not contain
null values.

column having unique key constraint can contain null values.


Unique as well as primary key constraint can be
defined/applyed on more than one column.
EX.
ADD constraint uc_person UNIQUE(P_Id,Lastname)
ADD constraint uc_person PRIMARY KEY(P_Id,Lastname)

But whle creating table we can write unique key word
multiple time and primary key wprd only once.Because table
can have only one primary key and can have miltiple unique
key.But both can apply on more than one column.
and

Is This Answer Correct ?    10 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you know about normalization? Explain in detail?

881


What is an oracle tablespace?

985


What is the implicit cursor in oracle?

1039


Where do we use decode and case statements?

945


How to assign a tablespace to a users in oracle?

992


What are the database administrators utilities available?

972


What is the usage of merge statement?

1097


How to create a temporary table in oracle?

1194


what are actual and formal parameters?

1051


Hi friends can u send the oracle 9i full version download link?????????????? please reply ?

1813


How to experiment a data lock in oracle?

1001


What is an external table?

959


How to view all columns in an existing table?

875


What is oracle server autotrace in oracle?

1091


Name the various constraints used in oracle?

970