This page is about the character ANSI data type.
Tabulify supports all standard ANSI SQL character data type:
| SQL Standard Name | Alias | Default n | Description |
|---|---|---|---|
| character varying(n) | varchar(n) | max | variable-length with limit |
| national character varying(n) | nvarchar(n) | max | variable-length with limit encoded with the Unicode character set |
| character(n) | char(n) | 1 | fixed-length, blank-padded |
| national character(n) | nchar(n) | 1 | fixed-length, blank-padded encoded with the Unicode character set |
| long character varying | long varchar | - | varchar without length qualifier |
| long national character varying | long nvarchar | - | nvarchar without length qualifier |
| clob | - | variable unlimited length (generally stored outside the database block in a text file) |
Note:
By default, when creating a data resource, if no precision n (ie data type length) is given, we:
You can set the default tabulify value with the following connection attribute:
| Attribute | Default Value |
|---|---|
| VARCHAR_DEFAULT_PRECISION | max database |
| NVARCHAR_DEFAULT_PRECISION | max database |
| CHAR_DEFAULT_PRECISION | 1 |
| NCHAR_DEFAULT_PRECISION | 1 |
With this attribute you can set the default varchar precision.
Note:
This attribute sets the default precision (ie data type length) of nvarchar when not specified
This attribute sets the default precision (ie data type length) of char when not specified
This attribute sets the default precision (ie data type length) of nchar when not specified