BOOL
This page is part of MariaDB's Documentation.
The parent of this page is: Data Types for MariaDB Xpand
Topics on this page:
Overview
See TINYINT.
USAGE
BOOL
DETAILS
Data Type | Minimum Value | Maximum Value |
---|---|---|
|
|
|
EXAMPLES
While Xpand accepts the BOOL
data type on table create, it is silently replaced with TINYINT(1)
:
CREATE TABLE bool_example (
example BOOL
);
SHOW CREATE TABLE bool_example\G
*************************** 1. row ***************************
Table: bool_example
Create Table: CREATE TABLE `bool_example` (
`example` tinyint(1)
) CHARACTER SET utf8 /*$ SLICES=3 */