Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Inside out on my Where clause logic

$
0
0

WHERE

(B.ELIGIBILITY_FLG <>'Y' or B.ELIGIBILITY_FLG is NULL)

and DM.ELIGIBILITY_FLG <>'Y'

B is Sol Tracker and DM is Duty Manager

I want to see all rows where B is not Y or B is Null.

But I don’t want to


Viewing all articles
Browse latest Browse all 3145

Trending Articles