Home Forums Article Discussions Article Discussions by Author Discuss content posted by Bernabe Diaz t-sql first last day date of the month RE: t-sql first last day date of the month
brian.neumeier-603907
Old Hand
Points: 346
More actions
December 1, 2009 at 6:09 am
#1085721
For the first day of the month, why use the double negative -- why not just
dateadd(day,1-datepart(day,@d),@d)