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

When we can declare a column as Unique and Not Null both at
the same time. What is the use pf Primary Key then?

Answer Posted / swapna

The concept of adding an unique key and not null constraint
to a column as well as adding as unique index to it , you
will assume to get the benefits of adding an primary key
to that column.

But use it for the purpose of referential integrity will
not allow to do so.

That's what PK is so useful. You will use it for
normalization purpose.

Is This Answer Correct ?    12 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to make a copy values from one column to another in sql?

981


Is not null in sql?

927


what is 'mysqldump'? : Sql dba

1047


what is not null constraint? : Sql dba

964


What is the difference between pl and sql?

1035


Can primary key be changed?

869


What are stuff and replace function?

1015


Is pl sql a scripting language?

969


What is null in pl/sql?

1022


What are the benefits of pl sql?

1053


What are inner outer left and right joins in sql?

964


What is the reports view in oracle sql developer?

925


what is a constraint? : Sql dba

1105


What does where 1/2 mean in sql?

1007


What are the types of views in sql?

1039