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 create lov dynamically at runtime & attach to text field?

1238


Is there a combination of "like" and "in" in sql?

1114


What are the restrictions on external table columns?

1107


How do you bind variables in oracle?

1021


What is a tns file?

1040


what are archived logs?

2258


What is the Tune Query

2345


how the indexes are stored in the Oracle Database?

2331


How many memory layers are in the oracle shared pool?

1253


Explain the importance of .pll extension in oracle?

1057


What is oracle rownum?

1016


How to rebuild an index in oracle?

1069


What is open database communication (odbc) in oracle?

1048


How to manage transaction isolation level?

1054


How to use select statement to count the number of rows in oracle?

1092