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

How to delete all rows a table in oracle?

1078


hey friends, What are the steps I can do to transfer the database from Microsoft Access 2003 to oracle10g (or SQL) Best regards

2006


What is materialized view in Oracle?

1079


How to sort output in descending order in oracle?

1053


what are actual and formal parameters?

1113


What is the data type of dual table?

1003


How to create lov dynamically at runtime & attach to text field?

1212


How to use "in" parameter properly?

1081


How do I spool to a csv formatted file using sqlplus?

1045


Explain enable novalidate constraint.

1096


Is there any function in oracle similar like group_concat of mysql?

1063


How to get last row id?

1008


What are the limitations oracle database 10g xe?

1054


What is set verify off in oracle?

1112


What do you understand by a database object?

1079