Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
expression [ NOT ] BETWEEN start-expression AND end-expression
BETWEEN 搜索条件的值可以是 TRUE、FALSE 或 UNKNOWN。无 NOT 关键字时,如果 expression 介于 start-expression 和 end-expression 之间,则搜索条件的值为 TRUE。NOT 关键字会使搜索条件的含义相反,但对于 UNKNOWN,其含义保持不变。
BETWEEN 搜索条件相当于两个不等式的组合:
[ NOT ] ( expression >= start-expression AND expression <= end-expression )
SQL/2008 核心功能。