Collections:
Entering Boolean Values in MySQL
How To Enter Boolean Values in SQL Statements in MySQL?
✍: FYIcenter.com
If you want to enter Boolean values in SQL statements, you use (TRUE), (FALSE), (true), or (false). Here are some good examples:
SELECT TRUE, true, FALSE, false FROM DUAL; +------+------+-------+-------+ | TRUE | TRUE | FALSE | FALSE | +------+------+-------+-------+ | 1 | 1 | 0 | 0 | +------+------+-------+-------+
⇐ Entering Binary Numbers in MySQL
2018-03-31, 2937🔥, 0💬
Popular Posts:
How To Escape Special Characters in SQL statements in MySQL? There are a number of special character...
What Happens to the Current Transaction If a START TRANSACTION Is Executed in MySQL? If you are in a...
What are binary literals supported in SQL Server Transact-SQL? Binary literals in Transact-SQL are s...
How To Get Help Information from the Server in MySQL? While you are at the "mysql>" prompt, y...
What Happens If the UPDATE Subquery Returns Multiple Rows in MySQL? If a subquery is used in a UPDAT...