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

后端 未结 7 1181
情歌与酒
情歌与酒 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:47

    actually. I just try verifying between with some of my data. BETWEEN is equivalent to ">=" and "<". For example: Between '05/01/2010' and '05/30/2010': You will only get data between 5/1/2010 00:00:00 to 5/29/2010 23:59:59. Try query your table with "Order by [TimeField] desc" and you will see the result.

    0 讨论(0)
提交回复
热议问题