What?s the difference between PRIMARY KEY and UNIQUE in
MyISAM?

Answers were Sorted based on User's Feedback



What?s the difference between PRIMARY KEY and UNIQUE in MyISAM?..

Answer / amith

PRIMARY KEY cannot be null, so essentially PRIMARY KEY is
equivalent to UNIQUE NOT NULL

Is This Answer Correct ?    28 Yes 8 No

What?s the difference between PRIMARY KEY and UNIQUE in MyISAM?..

Answer / raj

primary key is something which uniquely identifies the table
row. the value in primary key declared field can't be null
On the other hand unique avoids the duplicacy of data.

Is This Answer Correct ?    8 Yes 1 No

What?s the difference between PRIMARY KEY and UNIQUE in MyISAM?..

Answer / niraj kumar

primary key is not accept the null value.primary key is
always autoincrement.unique key is accept the one null
value.it is not a autoincrement.

Is This Answer Correct ?    4 Yes 15 No

What?s the difference between PRIMARY KEY and UNIQUE in MyISAM?..

Answer / manish

Primary Keys are used in building relationships between
tables in a database. (an index is automatically created on
the primary key). The difference between primary and
ordinary keys is that there can be multiple keys, but only
one primary key.

Is This Answer Correct ?    7 Yes 20 No

Post New Answer

More MySQL Interview Questions

what is the difference between the nvl function, ifnull function, and the isnull function? : Mysql dba

0 Answers  


What is the use of concat() in mysql?

0 Answers  


What is 1nf 2nf 3nf?

0 Answers  


What is mysql server used for?

0 Answers  


How can you add and remove any column of a table?

0 Answers  






Is mysql port 3306 tcp or udp?

0 Answers  


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

0 Answers  


What is the difference between the LIKE and REGEXP operators?

0 Answers  


How do I view tables in mysql workbench?

0 Answers  


Is mysql a server?

0 Answers  


How can you do the fine tunning?

3 Answers   ACC,


What can I do with mysql?

0 Answers  


Categories