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 a package ? What are the advantages of package ?

1136


What is a system tablespace?

1132


What is a data dictionary and how can it be created?

1236


Explain how are indexes update?

1118


How to connect to a local oracle 10g xe server?

1032


List the types of joins used in writing subqueries?

1037


Explain the use of control file?

1173


What is a static data dictionary in oracle?

1190


How to create an oracle database?

1100


What privilege is needed for a user to query tables in another schema?

1030


Please explain drop constraint oracle?

1155


How to set a transaction to be read only in oracle?

1137


what is dynamic SGA and static SGA

4485


How do I limit the number of oracle database connections generated by weblogic server?

1115


How to use "in out" parameter properly?

1102