BOOLEAN
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
BOOLEAN
DETAILS
Data Type | Minimum Value | Maximum Value |
---|---|---|
|
|
|
EXAMPLES
While Xpand accepts the BOOLEAN
data type on table create, it is silently replaced with TINYINT(1)
:
CREATE TABLE boolean_example (
example BOOLEAN
);
SHOW CREATE TABLE boolean_example\G
*************************** 1. row ***************************
Table: boolean_example
Create Table: CREATE TABLE `boolean_example` (
`example` tinyint(1)
) CHARACTER SET utf8 /*$ SLICES=3 */