Skip to content
Advertisement

Boolean vs tinyint(1) for boolean values in MySQL

What column type is best to use in a MySQL database for boolean values? I use boolean but my colleague uses tinyint(1).

Advertisement

Answer

These data types are synonyms.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement