Explore Courses Blog Tutorials Interview Questions
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.4k 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)
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94.7k users

Browse Categories