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.
Sukumar Konduru — — source: Informix-list mailing list archive (1991-1998)
Hi
I have a database column "date time year to second"
I need to prepare SQL statement to do get the results for last
24 hours.
For example If current date and time are 06/02/98 10:25:00
then I need query like this.
select * from xxx
where start <="1998-06-02 10:25:00"
andstart >= "1998-06-01 10:25:00"
I want to know in ESQLC or SQL
1. How to find current date and time in "year to second"?
2. How to mainpuate above to get date for exactly for 24hours back ?.
Thank you
sukumar konduru
sukumar@gte.net
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.