Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
hi,I need to run query for the first day of month the today;s datewhat should i use for @testdate between Firstdateof month(???) and getdate().thanks
Seventhnight
Master Smack Fu Yak Hacker
2878 Posts
Posted - 2006-04-03 : 15:48:29
(getdate()-day(getdate())+1) = firstDayOfMonthCoreyCo-worker on children "...when I have children, I'm going to beat them. Not because their bad, but becuase I think it would be fun ..."