I have the following SQL statement:
AND NOT (wo.ci_cnc_date IS NOT NULL AND p.prioid != '1 - Routine')
the MSDN states “Using NOT negates an expression.”
if that is true, then would the above statement be the equivalent of:
AND (wo.ci_cnc_date IS NULL AND p.prioid == '1 - Routine')
No. It would be equivalent to: