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.
David C. Harrison — — source: Informix-list mailing list archive (1991-1998)
Zeljan,
> I have a column datum (date type) in table. I would like to find a date
> one month later. So I would like my result to be:
> datum datum + 1 month
> 1998-1-17 1998-2-17
>
> I have tried with extend, but no luck.
SELECT (datum +1 UNITS MONTH) FROM table_name;
Enjoy!
-- David
______________________________________
David C. Harrison
DCH Software Limited
E-Mail: dch@dchsoftware.co.uk
Web: http://www.dchsoftware.co.uk
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.