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.
Sham — — source: Informix-list mailing list archive (1991-1998)
Hi,
Could someone help me on my current problem. Below is whats in my ESQL/C
program running on a Sun SPARC system.
-----------------
EXEC SQL BEGIN DECLARE SECTION;
datetime year to day start_date, today, end_date;
EXEC SQL END DECLARE SECTION;
$ SQL STATEMENT TO GET start_date and end_date
$ dtcurrent(&today);
/* How do i do a compare of the dates? so that I can do an */
if ( start_date < today < end_date )
{
/* run a shell program */
}
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.