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 are the advantages of primary key over unique+notnull

Answer Posted / shilpa.oracle

Primary key accepts only unique values and does not allow
null values.

Unique key accepts unique values and allows null values.

not null constraint allows duplicate values and doesnt allow
null values.

When a primary key constraint or unique key constraint is
created by default index is created on the columns with
these constraints.

Is This Answer Correct ?    16 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a primary key called that is made up of more than one field?

1351


What happens when a trigger is associated to a view?

915


What is ttitle and btitle?

1065


what is meant by nl2br()? : Sql dba

1046


What is sql query optimization?

1122


What is the use of desc in sql?

977


discuss about myisam index statistics collection. : Sql dba

952


how to convert dates to character strings? : Sql dba

1170


What is a table?

1016


What is native sql query?

1025


What are character functions in sql?

939


What is the difference between cluster and non-cluster index?

1108


what is the difference between cluster and non cluster index? : Sql dba

1027


What is the purpose of using pl/sql?

1146


what is clause? : Sql dba

1064