How to calculate the number of “Tuesdays” between two dates in TSQL?

前端 未结 4 1680
[愿得一人]
[愿得一人] 2020-11-29 12:29

I\'m trying to figure out how to calculate the number of \"Tuesdays\" between two dates in TSQL?

\"Tuesday\"could be any value.

4条回答
  •  日久生厌
    2020-11-29 13:00

    Check out this question: Count work days between two dates

    There are a few ways you can leverage the answer to that question for yours as well.

提交回复
热议问题