0 votes
1 view
in SQL by (20.3k points)

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

1 Answer

0 votes
by (40.3k points)

Both the column type i.e. Boolean and tinyint(1)  are the same. Hence, you can use any of the column types in an MYSQL database for boolean values.  

Related questions

0 votes
1 answer
0 votes
1 answer
asked Jul 13, 2019 in SQL by Tech4ever (20.3k points)
0 votes
1 answer
0 votes
1 answer
asked Jul 29, 2019 in SQL by Tech4ever (20.3k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...