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.
Jonas — — source: Informix-list mailing list archive (1991-1998)
yan,
try something along these lines:
select count(*)
from <your_table>
where extend(<your DTYM column>, YEAR TO DAY) > DATE(<any date>)
with the extend function you can effectively adjust the precision of a
datetime variable. there are caveats involved here when converting values to
higher precisions. i would read the 4gl manual to gain some understanding of
these to ensure you won't be affected adversely.
-jason
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.