Posts by Alexandro Silveira • 1 point
1 post
-
-1
votes3
answers3242
viewsA: How to get the last date of a day of the week in a given month in SQL Server?
I solved this problem with the following solution, I hope to have contributed DECLARE @DT DATETIME = '2015-12-10' DECLARE @DT_INICIO_SEMANA DATETIME DECLARE @DT_FIM_SEMANA DATETIME DECLARE…