Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
ccremid — — source: Informix-list mailing list archive (1991-1998)
Wang Chen wrote:
>
> We have a DATETIME(YEAR to MINUTE) field A.
> Now if I need to retrive all the records with:
>
> CURRENTTIME - field A < 2 hours
try:
where column >= current year to minute - 120 unit minutes
>
> i.e., records just being inserted within last 2 hours.
>
HTH
Tino
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.