December 20, 2006 at 10:22 am
Does anyone no a way that I could code a query that would always give the last day of the crrrent month. Where it had 30 or 31 days.
December 20, 2006 at 11:24 am
Thanks!
Merry Christmas!
December 21, 2006 at 7:08 am
This works to give you the last day of the previous month, in case you wanted that:
select getdate()-datepart(day,getdate())
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply