QoQ and modulus?
Hello, all,
I have been trying to use a modulus in a QoQ, and it's not working.
SELECT cola, colb, colc
FROM queryName
WHERE cola % 2 = 0
/* cola is an integer 1 - 10 */
.. and I get..
Encountered "cola 2 =. Incorrect conditional expression, Incorrect conditional expression, Lexical error at line 1, column 45. Encountered: " " (32), after : "%"
The error occurred on line 445.
(There are 16 lines of code, so I assume that the line 445 is in query.cfc.)
Can you use % or mod() in a QoQ???
V/r,
^ _ ^
