Type
|
Description
|
Typical DBMS Storage Type
|
Maximum Dictionary Definable Length
|
Subject to Code Page Conversions
|
Notes
|
Useable in RDML or RDMLX Programs
|
Integer
|
Integer
|
INTEGER
|
4 bytes.
|
|
Hardware and compiler behaviors may vary.
|
RDMLX
|
Packed
|
Standard decimal number
|
DECIMAL
|
RDMLX programs: 63 digits of which up to 63 may be decimals
RDML programs: 30 digits of which up to 9 may be decimals
|
N/A
|
|
Both
|
String
|
Variable length alphanumeric string with a dictionary defined maximum length.
|
VARCHAR (variable length)
|
65535
|
YES
|
Not padded with blanks to the dictionary defined maximum length, except that a zero length string has 1 space added.
|
RDMLX
|
VarBinary
|
Exactly the same as String but never subjected to code page conversions.
|
VARBINARY
|
32767
|
NO
|
Not padded to the dictionary defined maximum length.
|
RDMLX
|
NVarChar
|
Similar to String but data is handled as Unicode. This allows multiple languages to be used at execution time.
|
NVARCHAR
|
65535 characters
|
YES (but only when converted to native String)
|
|
RDMLX
|
Alpha
|
Constant length alphanumeric string with a dictionary defined maximum length.
|
CHAR (fixed length)
|
256
|
YES
|
Always padded with blanks to the dictionary defined maximum length.
|
Both
|
Date
|
Date in ISO format: YYYY-MM-DD
|
DATE
|
N/A
|
N/A
|
|
RDMLX
|
Time
|
Time is ISO format HH:MM:SS
|
TIME
|
N/A
|
N/A
|
|
RDMLX
|
DateTime
|
Date and Time in ISO format YYYY-MM-DD HH:MM:SS[.fffffffff] where the existence and length of the [.fffffffff] portion are definable.
|
DATETIME
|
29
|
N/A
|
|
RDMLX
|
Boolean
|
True/False
|
Decimal
|
N/A
|
N/A
|
|
RDMLX
|