Hello @ADX ,
Thanks for the question and using MS Q&A platform.
Here is the similar ADX query for the above SQL server query:
.set testTable <| datatable(col1:int, col2:int)[2, 30];
.set-or-append testTable <|
let c1 = 1;
let c2 = 10;
let recordFound = testTable
| where col1 == c1 and col2 == c2
| count;
print col1=toint(c1), col2=toint(c2)
| where toscalar(recordFound) == 0
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators