Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46681

Alternative for the SQL Having keyword in X++ sql statements.

$
0
0

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


Viewing all articles
Browse latest Browse all 46681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>