How can I declare and use variables in Informix Database. I'm using version 9.40uc7 and I would like to create two date variables read values into them then compare them using an if statement.
eg.
DECLARE first_date, last_date DATE;
However, I keep getting a syntax error on the declare line.
Asked by Kefash
(195 rep)
Aug 22, 2017, 07:11 PM
Last activity: Jan 8, 2025, 09:35 AM
Last activity: Jan 8, 2025, 09:35 AM