NATIONAL CHAR
This page is part of MariaDB's Documentation.
The parent of this page is: Data Types for MariaDB Enterprise Server
Topics on this page:
Overview
Fixed-length string of specific character set with limit up to 255 bytes.
EXAMPLES
CREATE TABLE national_char_example (
example NATIONAL CHAR(32)
);
SHOW CREATE TABLE national_char_example\G
*************************** 1. row ***************************
Table: national_char_example
Create Table: CREATE TABLE `national_char_example` (
`example` char(32) CHARACTER SET utf8 DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.