NATIONAL CHARACTER
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 CHAR.
USAGE
NATIONAL CHARACTER[(<number_of_bytes_per_value>)]
[{CHARACTER SET | CHARSET} <charset_name>]
[COLLATE <collation_name>]
DETAILS
Data Type | Minimum Number of Bytes | Maximum Number of Bytes |
---|---|---|
|
|
|
EXAMPLES
While Xpand accepts the NATIONAL CHARACTER
data type on table create, it is silently replaced with CHAR
:
CREATE TABLE national_character_example (
example NATIONAL CHARACTER(32)
);
SHOW CREATE TABLE national_character_example\G
*************************** 1. row ***************************
Table: national_character_example
Create Table: CREATE TABLE `national_character_example` (
`example` char(32) CHARACTER SET utf8
) CHARACTER SET utf8 /*$ SLICES=3 */