Hi I facing a problem in the SQL report. If I press to some field name it causes an error. "Order by" was changed in the middle of the script... How to fix it? To reproduce this issue I wrote this little sql (just press to "rn"): select ROW_NUMBER () OVER (ORDER BY field ASC) rn from ( select 1 as field union all select 2 ) as x
And one more question. How to reset ordering that was applied by pressing to the field?
It is impossible to press on the field because there are no fields. Report is failed. I see error message only: "Incorrect syntax near 'ASC'..." I found only one way to overwrite ordering. Edit and Save report.