Item type properties
The following table lists the Informix® data types and the values of the item type properties to which they correspond when the type tree is generated.
Informix Data Type | Interpret as | Item Subclass, Presentation | Length |
---|---|---|---|
BYTE | Text | Binary | * |
CHAR(n)1 | Text | Character | * |
CHARACTER(n)1 | Text | Character | * |
CHARACTER VARYING(m,r)2 | Text | Character | * |
DATE | Text | Character | 10 |
DATETIME | Text | Character | 19 |
DEC(p,s)3 | Number | Character, Decimal | * |
DECIMAL(p,s)3 | Number | Character, Decimal | * |
DOUBLE PRECISION | Number | Binary, Float | 8 |
FLOAT | Number | Binary, Float | 8 |
INT | Number | Character, Integer | 11 |
INTEGER | Number | Character, Integer | 11 |
INTERVAL | Text | Character | * |
MONEY(p,s)3 | Number | Character, Decimal | * |
NCHAR(n)1 | Text | Character | * |
NUMERIC(p,s)3 | Number | Character, Decimal | * |
NVARCHAR(m,r)2 | Text | Character | * |
REAL | Number | Binary, Float | 4 |
SERIAL | Number | Character, Integer | 11 |
SMALLFLOAT | Number | Binary, Float | 4 |
SMALLINT | Number | Character, Integer | 6 |
TEXT | Text | Binary | * |
VARCHAR(m,r)2 | Text | Character | * |
*The DBMS dictates the length of this type.
1n=1 £ n £ 32, 67
2m=maximum size of the column: 1-255, r=minimum reserved space: 0-255; r £ m
3p=precision, s=scale