The time data types allow the database server to store calendar dates, points in time, and intervals of time.
Time Data Types: |--+-DATE-----------------------------------------------+-------| | (1) | +-INTERVAL--| INTERVAL Field Qualifier |-------------+ | (2) (3) | '--------DATETIME--| DATETIME Field Qualifier |------'
The following table summarizes the built-in time data types.
A user-defined data type is one that a user defines for the database server. Dynamic Server supports two categories of user-defined data types, namely distinct data types and opaque data types. This is the declaration syntax for user-defined data types:
User-Defined Data Type: |--+------------------------+--+-opaque_type---+----------------| | (1) | '-distinct_type-' '-| Owner Name |-------.-'
Element | Description | Restrictions | Syntax |
---|---|---|---|
distinct_type | Distinct data type with same structure as an existing data type | Must be unique among data type names in the database | Identifier |
opaque_type | Name of the opaque data type | Must be unique among data type names in the database | Identifier |
In this manual, user-defined data type is usually abbreviated as UDT.
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]