Hello All,
I have the below SQL query currently working in AX 2012:
while select sum(amount) from tempTable
group by DataAreaID
but I would like to add something similar to a sql having clause, such as below:
while select sum(amount) from TempTable
group by dataAreaID
having sum <> 0
But it seem that the having keyword is not supported by X++ sql.
Does anyone have a suggestion how I can implement that select logic? Or any documentation on alternatives to the having keyword? It would be a huge help.
Thank you,
Phil
*This post is locked for comments
I have the same question (0)