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, 2343🔥, 0💬
Popular Posts:
How To Set Up SQL*Plus Output Format in Oracle? If you want to practice SQL statements with SQL*Plus...
How To Divide Query Output into Multiple Groups with the GROUP BY Clause in SQL Server? Sometimes, y...
What Is the Difference Between GETDATE() and GETUTCDATE() in SQL Server Transact-SQL? The difference...
How To Break Query Output into Pages in MySQL? If you have a query that returns hundreds of rows, an...
How To Select All Columns of All Rows from a Table with a SELECT statement in SQL Server? The simple...