Table of Contents
Date Field
Range of Type
This type of field can keep any date values between -222 ..222 years.
Storage
This field always uses 4 bytes on disk per value. In fact date value is stored as a regular long value.
Flags
- fNullable
This field can be declared as Nullable. In this case a special bitmap is associated with this field.
- fIndexed
This field can have flag fIndexed.
- fUnique
This field can have flag fUnique.
API
This field type is represented at the API level by VDate Class.
SQL
At SQL Level you can create such field using
CREATE TABLE T1( fldDate DATE );
You can use this field in any predicate expression, e.g.
SELECT * FROM T1 WHERE fldDate = '2007/12/31';