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 / mohammad ali

-The column holding the primary key constraint cannot accept
null values.whereas colum holding the unique constraint can
accept null values.
-We can declare only one primary key in a table
but a table can have multiple unique key
-Clustered index is created on Primary key constraint and
non clustered unique indexes is created on Unique key constraint.
-Primary key columns automatically become NOT NULL (unique
keys can contain nulls).

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to unlock the sample user account in oracle?

1018


How to start your 10g xe server from command line?

1073


Give the advantages and disadvantages of clusters.

1051


What is the difference between a hot backup and a cold backup in oracle?

1017


How index is implemented in oracle database?

1006


What are the uses of synonyms?

1138


How to insert a record into a table?

1071


Explain a synonym?

1032


What is the difference between 10g OEM and 11g OEM?

965


Explain the difference between sap and oracle?

1030


How do I call oracle stored procedures that take no parameters?

1116


In what script is snap$ created? In what script is the scott/tiger schema created?

2709


What are ddl statements in oracle?

1075


How to compare dates in oracle sql?

1105


What is a data dictionary and how can it be created?

1151