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

primary key not accepts null value and
not allows duplicate values.
but Unique key not allows duplicate values
but it accepts ONLY ONE NULL VALUE.

only one primary key allowed per table
we can create multiple unique keys
on the table

By Default, Primary key creates Clustered Index and Unique key Creates Non Clustered Index

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an oracle and why it is used?

1150


From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.

1068


How to put more than 1000 values into an oracle in clause?

1029


What are the major difference between truncate and delete?

1058


what are bitmap indexes? How does they work?

2251


What are the oracle differences between nvl and coalesce

1149


Hi this srilatha. I comlpeted my Oracle-hrms. can u provide me interview questions on Core hr, payroll,sshr,OLM etc..

2103


What is the difference between sharding and partitioning?

986


What is a private synonym?

1588


How do you find out from the RMAN catalog if a particular archive log has been backed-up?

2124


How does oracle handle read consistency?

1097


Explain the use of record option in exp command.

1006


what is the difference between substr and instr function in oracle?

1090


hi friends i completed b.com 2004.i have 3y accounting exp. in manufacturing company.now i have completed oracle finance.pls suggest me how will get job in oracle.can i get job in oracle.

2370


What is oracle used for?

1026