When I put variables into the SQL statement I wrote to execute the query, it works fine after v2022.12.0.
In v2022.10.4 it doesn’t give an error, but the variable values are not being given.
Who can tell me how to write a variable in SQL statement for v2022.10.4.
Thanks in advance.
Yes, there should be a space after the single quote and before “and”. I have added the space.
Also, I always use the advanced editor to edit the statement.
However, the statement still doesn’t work in v2022.10.4. If the statement is correct or there is no difference in putting variables in the SQL statement from v2022.10.4, maybe I should consider whether there are any other problems in the previous steps.