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 / chintan desai

Primary key don't have any null value, each table have only
one primary key. Not support duplicate value.

Unique key is uniquely identify, more then one unique key
allow in table.

Here the main different is what primary key do not have any
null value where unique key have only one null value.

Ex: here t1 is the name of table which have two field id and
name. here id is identify as a unique key then unique key's
null value look like under bellow:

1 chintan
NULL komal
2 ck
NULL NULL

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use "in out" parameter properly?

1044


What is key preserved table?

1015


How to create id with auto_increment on oracle?

986


What is oracle instant client?

1024


Explain overloading. Can functions be overloaded?

982


what is a Nested Loop join?

2104


What is a snapshot log?

1000


why dont we assign not null constraint as table level constraint.

2735


WHAT IS THE DEFINITION OF DEFAULT CUSTOMER IN AR?

2207


Please send me Informatica 8.1 certification dumps, my mail id mona85gupta@gmail.com

1863


What is a sub query? Describe its types?

1015


Explain joins in oracle?

1033


How data locks are respected in oracle?

1065


Is oracle an open source?

1073


What do you mean by redo log file mirroring?

1024