Oracle: '= ANY()' vs. 'IN ()'

后端 未结 9 1389
难免孤独
难免孤独 2020-12-01 03:37

I just stumbled upon something in ORACLE SQL (not sure if it\'s in others), that I am curious about. I am asking here as a wiki, since it\'s hard to try to search symbols in

9条回答
  •  误落风尘
    2020-12-01 03:49

    A quick google found this http://theopensourcery.com/sqlanysomeall.htm

    Any allows you to use an operator other than = , in most other respect (special cases for nulls) it acts like IN. You can think of IN as ANY with the = operator.

提交回复
热议问题