Declare @FirstDay datetime='2013-02-25'select DATEADD(MM,DATEDIFF(MM,0,@FirstDay),0) [FirstDay Of a Month]
Declare @FirstDay datetime='2013-02-25' SELECT @FirstDay - DAY(@FirstDay)+1
Login to post response