Servidor SQL Início do mês
SELECT DATEADD(month, DATEDIFF(month, 0, @mydate), 0) AS StartOfMonth
MzanziLegend
SELECT DATEADD(month, DATEDIFF(month, 0, @mydate), 0) AS StartOfMonth