Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

ANSI_NULLS NOT IN Query

$
0
0

Hi,

Why does the below only work when ANSI_NULLS is set to OFF?

Thanks!

WHERE r.PositionID + @User 
NOT IN 
   (SELECT v.PositionID + v.User 
        FROM ValidData v 
        WHERE v.AccDate = @AccDate
        AND v.User = @User)


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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