Explain the difference between BOOL, TINYINT and BIT?



Explain the difference between BOOL, TINYINT and BIT?..

Answer / amith

Prior to MySQL 5.0.3: those are all synonyms. After MySQL
5.0.3: BIT data type can store 8 bytes of data and should
be used for binary data.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More MySQL Interview Questions

Difference between CHAR and VARCHAR?

0 Answers  


How many concurrent queries can mysql handle?

0 Answers  


What is mysql server used for?

0 Answers  


Why MySQL is used?

0 Answers  


How to give user privilages for a db. Login as root. Switch to the mysql db. Grant privs. Update privs.

0 Answers  






How to get help information from the server?

0 Answers  


How to get the number of rows selected or affected by a sql statement?

0 Answers  


How to create a trigger in mysql?

0 Answers  


I want to find out all databases starting with ‘test’, I have access to?

0 Answers  


What is the phantom problem?

0 Answers  


What is triggers?

0 Answers  


What are the differences between drop a table and truncate a table?

10 Answers  


Categories