[Solved] How to use the between operator in SQL Server?
Just to illustrate my comment, here is how you could rewrite your current filter using BETWEEN. I am going to not assume that there are any rules about the values in [from] and [to], either could be less than the other, or they could be equal. If there were any such rules, then possibly this … Read more