Compare performance difference of T-SQL Between and '<' '>' operator?

后端 未结 7 1234
情歌与酒
情歌与酒 2020-12-31 05:02

I\'ve tried searching through search engines,MSDN,etc. but can\'t anything. Sorry if this has been asked before. Is there any performance difference between using the T-SQL

7条回答
  •  暖寄归人
    2020-12-31 05:31

    You can check this easily enough by checking the query plans in both situations. There is no difference of which I am aware. There is a logical difference though between BETWEEN and "<" and ">"... BETWEEN is inclusive. It's equivalent to "<=" and "=>".

提交回复
热议问题