Type Specifications
Table 1-1 shows the supported data types in TimesTen.
Table 1-1 Supported data types
Data type | Description |
---|---|
|
Fixed-length binary value of Supported values for See BINARY and VARBINARY Data Types for details. |
|
A 64-bit floating-point number
Minimum positive finite value: 2.22507485850720E-308 Maximum positive finite value: 1.79769313486231E+308 See BINARY_DOUBLE for details. |
|
A 32-bit floating-point number
Minimum positive finite value: 1.17549E-38F Maximum positive finite value: 3.40282E+38F See "BINARY_FLOAT" for details. |
|
A variable-length binary large object. The valid range is from 1 to 16,777,216 bytes. See BLOB for details. |
|
Fixed-length character string of length
If you do not specify A zero-length string is interpreted as
See CHAR for details. |
|
A variable-length character large object containing single-byte or multibyte characters. The valid range is from 1 to 4,194,304 bytes of data depending on the database character set. Specifically, the maximum size of a See CLOB for details. |
|
Date and time information: century, year, month, day, hour, minute, and second Format is:
Valid date range is from January 1, 4712 BC to December 31, 9999 AD. There are no fractional seconds. See DATE for details. |
|
Interval type TimesTen partially supports interval types, expressed with the type Note: You cannot specify a column of an interval type. These are non-persistent types used in SQL expressions at runtime. In addition, for those comparisons where an interval data type is returned, the interval data type cannot be the final result of a complete expression. The See TimesTen Intervals for details. |
|
Fixed-length string of The number of bytes required is 2* A zero-length string is interpreted as
See NCHAR for details. |
|
A national variable-length character large object containing Unicode characters. The valid range is from 1 to 2,097,152 characters. See NCLOB for details. |
|
Number having precision and scale. The precision ranges from 1 to 38 decimal. The scale ranges from -84 to 127. Both precision and scale are optional. If you do not specify a precision or a scale, TimesTen assumes the maximum precision of 38 and flexible scale.
See NUMBER for details. |
|
Variable-length string of The number of bytes required is 2* The valid range is from 1 to 2,097,152 characters. You must specify A zero-length string is interpreted as Nonpadded comparison semantics are used. See NVARCHAR2 for details. |
|
An 18-byte character string that represents the address of a table row or materialized view row in TimesTen Classic. Specify a literal See ROWID Data Type for details. |
|
A time of day between 00:00:00 (midnight) and 23:59:59 (11:59:59 pm), inclusive The format is: Alternatively, specify See TIME for details. |
|
Year, month, and day values of the date plus hour, minute, and second values of the time The
The fractional seconds precision range is 0 to 9. The default is 6. Format is:
See TIMESTAMP for details. |
|
A signed eight-byte integer in the range -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807. Use See TT_BIGINT for details. |
|
Date information: century, year, month, and day The format is Valid dates are between 1753-01-01 (January 1, 1753) and 9999-12-31 (December 31, 9999). See TT_DATE for details. |
|
A signed integer in the range -2,147,483,648 to 2,147,483,647.
See TT_INTEGER for details. |
|
A native signed 16-bit integer in the range -32,768 to 32,767. Use
See TT_SMALLINT for details. |
|
A date and time between 1753-01-01 00:00:00 (midnight on January 1, 1753) and 9999-12-31 23:59:59 pm (11:59:59 pm on December 31, 9999), inclusive Any values for the fraction not specified in full microseconds result in a "
You can specify See TT_TIMESTAMP for details. |
|
Unsigned integer ranging from 0 to 255. Use Since See TT_TINYINT for details. |
|
Variable-length binary value with length The valid range is from 1 to 4,194,304 bytes. Alternatively, specify See BINARY and VARBINARY Data Types for details. |
|
Variable-length character string with a length of
For byte-length semantics, the valid range is from 1 to 4,194,304 bytes. For character-length semantics, the valid range is from 1 to 1,048,576 characters. If you do not specify A zero-length string is interpreted as Nonpadded comparison semantics are used. Do not use the See VARCHAR2 for details. |