Suppose I have Base document with table that has a column named “d”.
The query select d from mytable
fails with:
SQL Status: HY000
Error code: 1000
syntax error, unexpected $end, expecting BETWEEN or IN or SQL_TOKEN_LIKE"
While select "d" from mytable
succeeds. Same if the column is named t
(haven’t bothered to try all one-letter names).
I can’t find a function named ‘t’ or ‘d’ in the HSQL docs at Chapter 4. Built In Functions, the literals appear to be written as DATE|TIME|TIMESTAMP|INTERVAL ‘…’ and another page has examples like SELECT a, b FROM atable WHERE d < 5 ...
.
What gives?