If you google "sql calendar table" you should find a few useful results depending on your SQL server technology. At work we have a calendar table which I make use of when calculating occupancy between specific dates.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.