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 / pramod paunikar

Both primary key and unique enforce uniqueness of the
column on which they are defined. But by default primary
key creates a clustered index on the column, where are
unique creates a non-clustered index by default. Another
major difference is that, primary key does not allow NULLs,
but unique key allows only one NULL only.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What privilege is needed for a user to create indexes in oracle?

965


Why packages are used in oracle?

1002


How do I use os authentication with weblogic jdriver for oracle and connection pools?

999


What is the relationship among database, tablespace and data file?

929


What are the original export and import utilities?

1058


What are the limitations of check constraint?

966


What privilege is needed for a user to delete rows from tables in another schema?

1020


Explain what are synonyms used for?

983


What privilege is needed for a user to query tables in another schema?

922


What are the tools for Oracle ?

1009


How to create an oracle database manually?

1023


How to get a list of all user accounts in the database?

1035


State some uses of redo log files?

947


Explain a private synonyms?

983


How to generate query output in html format?

1036