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, 3216🔥, 0💬
Popular Posts:
What Are the Differences between DATE and TIMESTAMP in Oracle? The main differences between DATE and...
What Happens to Your Transactions When ERROR 1213 Occurred in MySQL? If your transaction receives th...
How To Change the Name of a Database User in SQL Server? If you want to change the name of an existi...
What are DDL (Data Definition Language) statements for tables in SQL Server? DDL (Data Definition La...
What Happens If the UPDATE Subquery Returns Multiple Rows in MySQL? If a subquery is used in a UPDAT...