If you have a grid application you cannot use limit as keyword. If you have select … where … order by … limit 10 then SC will add ‘ASC’ to the sentence which will generate an sql error. If I do
select … where … order by … desc
It works, the ASC is not added. But as soon as I append the limit statement the ASC is added again. It’s an annoying bug as it will prevent me from using the grid as a nested grid because the resultset will become too large.