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

primary key doesnt allow duplicates and null values
unique key allows null value only once
and more over
when you applying primary key by default clustered index is created on that table
when u applying unique key non clustered index is created on that table.
so primary key can be allowed only once(1) and unique u can apply more
than one on a single table(249)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pragma autonomous transaction in oracle?

1064


How do we get field detail of a table?

1076


How to define a variable to match a table column data type?

982


What types of joins are used in writing subqueries?

980


What is the difference between truncate & delete command?

1177


What happens if the imported table already exists?

1030


what is the difference between data migration and production migration.

2341


What is an oracle user role?

984


How to estimate disk space needed for an export job?

1047


What is raw datatype?

1132


Explain the use of log option in exp command.

1114


How data locks are respected in oracle?

1065


How to rename a tablespace in oracle?

1083


What is an oracle data file?

1103


Which dictionary tables and/or views would you look at to diagnose a locking issue?

1907