Hi,
I have the following where clause which isn't quite working as expected.
When I add in this where clause, it works as intended
WHERE DBO.JE.Date_in >='2015/01/01'
AND UFS.[SP] Is Not Null
AND UFSummary.[SP] Not Like '%12111%'
AND DBO.JE.Job_Type_Code Not Like '%T6%'
--AND dbo.JEID='1'
--OR dbo.JE.ID='2'
--OR dbo.JE.ID='3'
However, when I un-comment out the AND OR OR, the 4 criteria before this doesn't work, any idea how I would need to write this where statement to get it to run correctly please?