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

What has stored procedures in sql?

1071


how can we know the number of days between two given dates using mysql? : Sql dba

1051


How do sql databases work?

1006


What do you think about pl/sql?

1042


What are reports usually used for?

1035


Which join condition can be specified using on clause?

961


What is thread join () in threading?

1019


what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba

1071


What is the syntax to add a record to a table?

1098


name 3 ways to get an accurate count of the number of records in a table? : Sql dba

1075


What is tuple in sql?

1090


Name some usages of database trigger?

1024


What is the use of desc in sql?

985


What are the possible values that can be stored in a boolean data field?

1009


What is dba in sql? : SQL DBA

1046