![]() |
|
Use a DATETIME field qualifier to specify the largest and smallest unit of time in a DATETIME column or value. Use the DATETIME Field Qualifier segment whenever you see a reference to a DATETIME field qualifier in a syntax diagram.
Specify the largest unit for the first DATETIME value; after the word TO, specify the smallest unit for the value. The keywords imply that the following values are used in the DATETIME column.
The following examples show DATETIME qualifiers:
For an explanation of the DATETIME field qualifier, see the discussion of the DATETIME data type in the Informix Guide to SQL: Reference.