The forms "<>", "!=", "~=" and "^=" are equivalent, but only the "<>" form is defined in ANSI SQL.
if a != b then