Querix 4gl supports 6 character data types.
is a character data type that does not require the size to be declared (the size of a STRING variable changes depending of the size of the value stored in it) |
|
is a character data type that allows storing character data in fixed-length fields as strings of single-byte or multibyte letters, numbers, and other characters |
|
is a character data type that allows storing character data in variable-length fields as strings of single-byte or multibyte letters, numbers, and other characters |
|
is a "large" VARCHAR - a character data type that allows storing character data in variable-length fields as strings of single-byte or multibyte letters, numbers, and other characters (was introduced to bypass the size limitation of the standard VARCHAR type; can be used to represent the external format of opaque data types) |
|
is a locale-sensitive character data type that allows storing character data in fixed-length fields as strings of single-byte or multibyte letters, numbers, and other characters supported by the code set of the necessary database locale |
|
is a locale-sensitive character data type that allows storing character data in variable-length fields as strings of single-byte or multibyte letters, numbers, and other characters supported by the code set of the necessary database locale |
NCHAR and NVARCHAR types are sometimes called National Language Support data types because these are locale-sensitive character data type that support localized collation.
|
length |
default size |
maximum size |
reserved size |
collation |
variable |
0 |
unlimited |
|
code set |
|
fixed |
1 |
65,534 |
|
code set |
|
variable |
0 for reserved |
65,534 |
0 to 255 bytes |
code set |
|
variable |
2048 |
32,765 |
|
code set |
|
fixed |
1 |
32,767 |
|
localized |
|
variable |
0 for reserved |
255 |
0 to 255 bytes |
localized |