Character Data Types
From InterBase
Go Up to Specifying Data Types
InterBase supports four character string data types:
- A fixed-length character data type, called
CHAR(<n>) orCHARACTER(<n>), where <n> is the exact number of characters stored. - A variable-length character type, called
VARCHAR(<n>) orCHARACTERVARYING(<n>), where <n> is the maximum number of characters in the string. - An
NCHAR(<n>) orNATIONAL CHARACTER(<n>) orNATIONAL CHAR(<n>) data type, which is a fixed-length character string of <n> characters which uses the ISO8859_1 character set. - An
NCHAR VARYING(<n>) orNATIONAL CHARACTER VARYING(<n>) orNATIONAL CHAR VARYING(<n>) data type, which is a variable-length national character string up to a maximum of <n> characters.