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

Explain the use of record length option in exp command.

1066


Explain alias?

1135


Difference between cartesian join and cross join?

1033


What is the difference between primary key and unique key and foreign key in oracle?

974


does the query needs a hint to access a materialized view?

1857


What is a directory object?

1095


What is the difference between sharding and partitioning?

984


What is meant by a deadlock situation?

1107


How to get execution statistics reports on query statements?

1086


Why is oracle used?

936


What do you understand by a database object?

1055


Explain parameter file in oracle.

1025


How to use attributes of the implicit cursor in oracle?

1008


How do we get field details of a table?

978


Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?

2355