Till Next Timedeclare @date datetimeset
@date = getdate()
--get first day of month
select dateadd(m, datediff(m, 0, @date), 0)
--get last day of month
select dateadd(m, datediff(m, 0, dateadd(m, 1, @date)), -1)
Subscribe to:
Post Comments (Atom)
A collection of SSIS stuff from 101 till 404. I just put the things here I run into....
No comments:
Post a Comment