Solved

Quick Report - SQL expression is wrong

  • 7 October 2022
  • 4 replies
  • 224 views

Badge +5

I wrote an SQL query using the SQL Query Tool in IFS App 9. But when I try to save the query as a Quick Report it states: SQL expression is wrong (SQL-Ausdruck ist falsch).

The query runs fine in the IFS Query Tool and unfortunately the error message does not specify why the SQL expression is wrong. 

Does somebody know what is wrong with my query?

icon

Best answer by EntNadeeL 7 October 2022, 14:20

View original

4 replies

Userlevel 3
Badge +6

Hi Deniz,

You can try to remove code comments if there are any. In some cases this causes issues.

Regards, Roel

Userlevel 5
Badge +9

Remove the ending semicolon when you save the quick report

 

Cheers

Nadeesha

Userlevel 4
Badge +10

Multiple reasons why it can be wrong like already stated as above. Think another limitation is when duplicate column names are present.

 

It is much easier to troubleshoot if you place the query you created in the topic :-).

Badge +5

Remove the ending semicolon when you save the quick report

Thank you, the ending semicolon was the culprit. Now it’s working. 👍 

Reply