Re:Things I wished more developers knew about databases
by alexilliamson on Wednesday April 22, 2020 @11:57AM
(#22946940)
You can (IMO) pretty succinctly enumerate all the days in a month with a recursive CTE. The example in the following link does it for weekdays, but it's the same idea: https://www.sqlservertutorial.net/sql-server-basics/sql-serv...
[ Parent
| on HN ]
There are no comments on this comment yet.