Aspects


vs


Boolean

A Boolean data type is a data type with only two possible values: true or false.

Tinyint

Tinyint is one of the Exact number data types that use integer data.

Others

Quality Example
Better

"For all thing with boolean is better tinyint 1 or enum y n"

from question "MySQL SELECT query containing bit field and string field comparison for NULL returns empty set"

More space

"Does tinyint in mysql take up more space than boolean"

from question "Should I use 0/1 or True/False boolean?"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0