I have a one line query:
DECLARE VARIABLE var_SecondsOfTime INTEGER;
But after running the query I am getting this message:
Engine Error (code = 335544569): Dynamic SQL Error. SQL error code = -104. Token unknown - line 1, column 9. VARIABLE.
SQL Error (code = -104): Invalid token.
I've looked everywhere on the Internet and all examples showing the same declaration style which I am using.
What is wrong?