A TINYINT is an 8-bit integer value, a BIT field can store between 1 bit, BIT(1), and 64 bits, BIT(64). For a boolean values, BIT(1) is pretty common.
More Related Contents:
- How can I cast an int to a bit in MySQL 5.1?
- “INSERT IGNORE” vs “INSERT … ON DUPLICATE KEY UPDATE”
- Library not loaded: libmysqlclient.16.dylib error when trying to run ‘rails server’ on OS X 10.6 with mysql2 gem
- Count the occurrences of DISTINCT values
- Codeigniter – multiple database connections
- Column count doesn’t match value count at row 1
- How to add levenshtein function in mysql?
- How to search JSON data in MySQL?
- MySQL > Table doesn’t exist. But it does (or it should)
- Is the primary key automatically indexed in MySQL?
- How do I modify a MySQL column to allow NULL?
- Connect to mysql in a docker container from the host
- Is there ANY_VALUE capability for mysql 5.6?
- Set NOW() as Default Value for datetime datatype?
- MySQL update CASE WHEN/THEN/ELSE [duplicate]
- SQL DELETE with JOIN another table for WHERE condition
- How to connect to a MySQL Data Source in Visual Studio
- DOs and DONTs for Indexes [closed]
- How can I correct MySQL Load Error
- ‘Access denied for user ‘root’@’localhost’ (using password: NO)’
- MySQL treats ÅÄÖ as AAO?
- How can write queries in MySQL that can parse JSON data in a column?
- Count with IF condition in MySQL query
- MySQL Time Zones
- How to use django models with foreign keys in different DBs?
- mysql_fetch_row() vs mysql_fetch_assoc() vs mysql_fetch_array() [duplicate]
- Mysql select where not in table
- Using DISTINCT and COUNT together in a MySQL Query
- Which DATATYPE is better to use TEXT or VARCHAR?
- mySQL regex in the where clause