Oracle <> , != , ^= operators

后端 未结 4 1360
孤街浪徒
孤街浪徒 2020-12-03 08:24

I want to know the difference of those operators, mainly their performance difference.

I have had a look at Difference between <> and != in SQL, it has no perf

4条回答
  •  时光说笑
    2020-12-03 09:24

    You reference the article on the Burleson site. Did you follow the link to the Oracle-L archive? And did you read the other emails replying to the email Burleson cites?

    I don't think you did, otherwise you wouldn't have asked this question. Because there is no fundamental difference between != and <>. The original observation was almost certainly a fluke brought about by ambient conditions in the database. Read the responses from Jonathan Lewis and Stephane Faroult to understand more.


    " Respect is not something a programmer need to have, its the basic attitude any human being should have"

    Up to a point. When we meet a stranger in the street then of course we should be courteous and treat them with respect.

    But if that stranger wants me to design my database application in a specific way to "improve performance" then they should have a convincing explanation and some bulletproof test cases to back it up. An isolated anecdote from some random individual is not enough.

提交回复
热议问题