3 ms·
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 sa
by alexilliamson 7y ago
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-server-recursive-cte/ https://www.sqlservertutorial.net/sql-server-basics/sql-serv...