sql server beginning of month
snippet in sql

sql server beginning of month

user1333

SELECT DATEADD(month, DATEDIFF(month, 0, @mydate), 0) AS StartOfMonth