Answers for "how to get every month first date in sql"

SQL
0

sql server beginning of month

SELECT DATEADD(month, DATEDIFF(month, 0, @mydate), 0) AS StartOfMonth
Posted by: Guest on May-29-2020
0

get first monday of month sql

select DATEADD(wk, DATEDIFF(wk,0,
            dateadd(dd,6-datepart(day,getdate()),getdate())
                               ), 0)  
--Change getdate to your variable
Posted by: Guest on February-25-2020

Code answers related to "how to get every month first date in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language