CHAR
CHAR(width) [BINARY|ASCII|UNICODE] [CHARACTER SETcharacter_set] [COLLATEcollation]
The CHAR data type is a fixed-width column, padded with spaces to the right as
needed. The spaces are not included in the results when queried. This
column may be from 0 to 255 characters wide. The default if no width
is given is 1. This type is synonymous with
CHARACTER. You can also use NATIONAL
CHARACTER or NCHAR to indicate that a
predefined national character set is to be used. Columns are
right-padded with spaces when stored. FULLTEXT
indexing and searching may be performed on a CHAR
column with a MyISAM table.
As of version 4.1 of MySQL, you can specify the
ASCII attribute for use with the
CHAR data type. This will set the column to the
latin1 character set. Also as of version 4.1 of
MySQL, you can specify the UNICODE attribute, which
will set the column to the ucs2 character
set.