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

How do I create a memory optimized filegroup?

943


How do you break a loop in pl sql?

1029


What is the use of partition by in sql?

976


What is the difference between sql and mysql?

1099


What is gpt format?

925


What is bulk compiling in pl/sql.?

1109


Which is faster truncate or drop?

1029


Is oracle and sql same?

991


How much does sqlite cost?

1021


What is the difference between rollback and rollback to statements?

1046


what are the different index configurations a table can have? : Sql dba

980


Is null operator in sql?

1010


What are the types of join and explain each?

1019


What is the importance of sqlcode and sqlerrm?

1329


What is the best free sql database?

1040