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...

What is difference between UNIQUE constraint and PRIMARY KEY
constraint ?

Answer Posted / naren

When ever you create a primary key constraint on perticular
column in a table it creates clustered index by default,
it cannot allow null values and a table having only one
primary key constraint. But in the case of Unique Key
constraint, it allow only one null value, it creates non-
clustered index by default and a table having multiple
unique key constraints.


Regards
Naren Krishna

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to define a data field as not null?

1159


What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?

4567


What suggestions do you have to reduce the network traffic?

1018


What are the benefits of ordbms?

1136


What are the differences between primary key and unique key?

1057


What is merge statement used for?

1072


How to shutdown your 10g xe server?

1202


A table t is there.If you perform insert ,update and delete then the trigger will fire.What is the minimum no of trigger required for a table.

5673


what is insert all statement in sql

6618


What is MTTR advisor in Oracle?

1135


candidate key is subset of super key but not vice-verse explain

2106


Difference between cartesian join and cross join?

1090


How can windows applications connect to oracle servers?

1115


How to define a sub function?

1198


what is the use of system.effective.date variable in oracle?

1161