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

is it possible to assign two primary key in a table

Answer Posted / jd

At the end of the day a primary key is unique non null value
that the data is indexed upon.

Even if only one column can be explicitly defined as the PK.
It is possible to uniquely identify a row differently, by
creating a unique non null column that is indexed. It is
implicitly then a PK.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can mysql and mariadb coexist?

1167


What is maximum table size in mysql?

989


Where is the myisam table stored?

1007


What is database in php mysql?

1039


How to start mysql server?

1099


Can not connect to mysql server 10060?

993


How does triggers work in mysql?

1025


What is difference between mongodb and mysql?

974


Will mysql remain free?

1008


What is the difference between a heap table and temporary table?

983


How to include numeric values in sql statements?

1060


what is the procedure to configure the application of mysql?

1096


What is a user defined variable?

956


How do I export mysql query results to excel?

1015


What is use of mysql?

980