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 / sunil upadhyay

the basic difference is that primary key can not have null
value whereas Unique key can have null values.two null
value are not same.One table may have more than one Unique
Key Constraint
columns, but should have only one Primary Key Constraint
column.

Is This Answer Correct ?    88 Yes 51 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how you would restore a database using RMAN to Point in Time?

2141


What is index in Oracle?

1070


How is it different from a normal table?

1029


What is the difference between I and G in Oracle?

1095


What is difference between sid and service name in oracle?

954


Is oracle a relational database?

914


what is the scenario where you take the database to NoArchivelog mode?

2325


Explain the difference between a procedure and a function? What do you understand by those terms?

1077


How to specify default values in insert statement using oracle?

1102


Can sub procedure/function be called recursively?

996


What is recycle bin in Oracle?

1146


What is tns entry?

1143


Why do you create or replace procedures rather that drop and recreate.

1003


How to define a specific record type?

1084


How many memory layers are in the oracle shared pool?

1177