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

where are cookies actually stored on the hard disk? : Sql dba

1080


What is a common use of group by in sql?

1097


how to write date and time literals? : Sql dba

1010


What is union?

1253


how many sql ddl commands are supported by 'mysql'? : Sql dba

1067


How does cross join work in sql?

1079


What is difference between sql and mysql?

1197


Explain the difference between drop and truncate commands in sql?

1113


What is out parameter used for eventhough return statement can also be used in pl/sql?

1126


How to handle bulk data?

1368


What is not in sql?

999


What is right join sql?

1013


What is the max nvarchar size?

1031


Why self join is used in sql?

1031


how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba

999