is it possible to assign two primary key in a table
Answers were Sorted based on User's Feedback
Answer / sushma s
A table can have only one primary key assigned.
Is This Answer Correct ? | 19 Yes | 0 No |
Answer / sudipta santra
IF WE MAKE COMPOSITE PRIMIRAY KEY THEN ONLY MORE THAN ONE
COLUMNS WILL BE BIND UP.
Is This Answer Correct ? | 11 Yes | 1 No |
Answer / 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 |
Answer is strictly NO...!!!
we may have morethan one unique column in a table but we should assign only one primary key...!!
Is This Answer Correct ? | 3 Yes | 0 No |
How can I see all mysql databases?
How do I delete a row in mysql?
Explain TIMESTAMP DEFAULT ?2006:09:02 17:38:44′ ON UPDATE CURRENT_TIMESTAMP.
Explain the difference between FLOAT, DOUBLE and REAL.
Write a program using the select statement, while loop.
Why mysql is so popular?
about join
What is the difference between the primary and unique key in mysql?
How do I create a mysql database?
what programming language which is used for testing and developement in sql?
How many rows mysql can handle?
What is mysql primary key?