Oracle Not Equals Operator

前端 未结 6 1307
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-18 15:41

There are two not equals operator - != and <>.

What\'s the difference between them? I heard that != is more efficient than

6条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-18 16:38

    They are the same (as is the third form, ^=).

    Note, though, that they are still considered different from the point of view of the parser, that is a stored outline defined for a != won't match <> or ^=.

    This is unlike PostgreSQL where the parser treats != and <> yet on parsing stage, so you cannot overload != and <> to be different operators.

提交回复
热议问题