Scott Ribe wrote:
where a <> b or (a is null and b is not null) or (a is not null and b is null)
In the absence of IS DISTINCT FROM, I think this has the same semantics: where coalesce(a, b) <> coalesce(b, a) although it's not as concise as one might wish. - John D. Burger MITRE