translate IIFs in a where clause to CASE statements

no wonder I omitted the single quotation mark '0'

all makes sense now.Very well spotted .


Thanks very much
 

Users who are viewing this thread

Back
Top Bottom