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

Primary Key cannot contain null values
Each table has one and only one Primary Key
Primary Key is used to reference as Foreign key while
performing table joins
Clustered index is created on Primary Key

Unique Key can contain null value
A table can have any numberof unique keys
Non-clustered index is created on unique key columns

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1065


What is using clause and give example?

1044


Explain coalesce function?

1203


What is a directory object?

1097


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

1028


What are internal user account in oracle?

1006


How to view the data files in the current database?

1098


What do you mean by merge in oracle and how can you merge two tables?

948


How to fetch the row which has the max value for a column?

1001


WHEN CURSOR MOVES FROM ONE FORM TO ANOTHER FORM, HOW MANY TRIGGER WILL BE FIRED AND WHAT ARE THEIR SEQUENCE?

2311


What is a view and how is it different from a table?

1045


How to sort the query output in oracle?

1028


What is the recommended interval at which to run statspack snapshots, and why?

2919


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

1047


How do I use unicode codesets with the weblogic jdriver for oracle driver?

1078