Fetch and insert DATETIME and INTERVAL values

When an application fetches or inserts a DATETIME or INTERVAL value, HCL OneDB™ ESQL/C must ensure that the qualifier field of the host variable is valid:
  • When an application fetches a DATETIME value into a datetime host variable or inserts a DATETIME value from a datetime host variable, it must ensure that the dt_qual field of the dtime_t structure is valid.
  • When an application fetches an INTERVAL value into an interval host variable or inserts an INTERVAL value from an interval host variable, it must ensure that the in_qual field of the intrvl_t structure is valid.