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

1)unique key can be null but primariy key cant be null.
2)primariy key can be refrenced to other table as FK.
3)we can have multiple unique key in a table but PK is one
and only one.
4)PK in itself is unique key.
5)a table can have more then one unique key column but a
table can have only one primary key column.
6)primary key creates clustered index but unique key
creates non clustered index.

Is This Answer Correct ?    12 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

State and explain the different types of data models?

989


Explain oracle’s system global area (sga).

1184


How to write a query with a right outer join in oracle?

1214


How to select some columns from a table in oracle?

1166


What is the scope of a local variable?

1119


How to use "in out" parameter properly?

1098


How oracle handles dead locks?

1124


How to select all columns of all rows from a table in oracle?

1096


List out the types of joins.

1234


What is the data type of dual table?

1059


How to increment dates by 1 in oracle?

1133


How to display row numbers with the records?

1132


Can I create users through internet explorer in oracle 10g?

1152


What are the limitations of check constraint?

1071


Is truncate autocommit in oracle?

1147