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

Explain parameter file in oracle.

974


What is a table index in oracle?

1071


What is the minimum client footprint required to connect c# to an oracle database?

1019


What is system global area (sga) in oracle?

928


What is the difference between translate and replace?

1012


How do you store pictures in a database?

952


What is user managed backup in Oracle?

1078


What is a snapshot log?

953


What is oracle used for?

971


How can we force the database to use the user specified rollback segment?

1069


What is the data type of dual table?

921


What happens to the data files if a tablespace is dropped?

996


How to grant create session privilege to a user in oracle?

948


Explain the use of Merge statement in oracle 11g

978


What is different types of joins?

969