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

How can you export the table as an xml file in mysql?

890


What is use of mysql?

928


What are ddl statements in mysql?

1062


How to create a test table in your mysql server?

1052


What is join in mysql? What are the different types of join?

933


Why do we write stored procedures?

929


How is oracle different from mysql?

1029


What is dump in mysql?

894


What does mysqli_fetch_assoc do?

920


Write a program using the select statement, while loop.

915


Can you tell a way to know the number of days between the two given dates in php?

1099


how to Return total number of rows.

1013


What is bigint in mysql?

929


How to write date and time literals?

1032


What is the purpose of mysql database?

921