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

Primary key not accepts to null values in database, but
uniqe key accepts to the null values in database.

Each table having only one PRIMARY KEY.And my contain many
UNIQUE KEYS.
PRIMARY KEY is identity of each row. UNIQUE KEY also
identity of each row.
BOTH keys will not contain repeated value.
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

What is the difference between count (*), count (expression), count (distinct expression)?

1007


What are the differences between blob and clob in oracle?

1089


What is connection pooling in oracle?

973


How to check the oracle tns settings?

1047


How to change user password in oracle?

1029


how the Oracle Prepares the Execution Plan and how it chooses the Optimal one?

2345


how to clone 9i Database on to 10g Database.

2340


How to insert a new row into a table in oracle?

1165


How to create a new view in oracle?

1078


What is a snapshot log?

1003


What are the uses of synonyms?

1138


Explain overloading. Can functions be overloaded?

987


What is a database schema in oracle?

1111


What is tns entry?

1152


How do we represent comments in oracle?

1049