Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 20764

Something with both things.... but not everything.

$
0
0

Probably pathetically simple.  But you know, sometimes you're brain fails you.

Show me only the Order_no and Unit when Unit# has BOTH “null” and not = to “Null”

In the below case only Order_No 574656 would return.

ORDER_NO   UnitID            UNIT#

574655          1373105         NULL

574655          1372866         NULL

574655          1373019         NULL

574656          1373873         0423940020000400195

574656          1373989         0423940020001100195

574656          1375072         NULL

574656          1375073         NULL

574656          1375080         NULL

574657          1372988         NULL

574657          1372993         NULL

574657          1372994         NULL

574657          1373000         NULL

THANK YOU!


Viewing all articles
Browse latest Browse all 20764

Trending Articles



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