Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
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.7k 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

Browse Categories

...