Sample Header Ad - 728x90

How to declare and use variables in Informix

6 votes
1 answer
2794 views
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