Q&A about the site for expert genealogists and people interested in genealogy or family history
SELECT DATEADD(mm,DATEDIFF(mm,0,dateadd(month,-1,getdate())),0) As First_Of_Current_Month , dateadd(ms,-3,DATEADD(mm,DATEDIFF(mm,0,getdate()),0)) As Last_Of_Current_Month;