sql beginning of previous month code example Example: sql beginning of previous month SELECT DATEADD(d,1,EOMONTH(GETDATE(),-2))