Free for PREMIUM members
declare @PrvMthLstDay datetime
set @PrvMthLstDay = '2010-07-30';
;with cte(dt) as (
select dateadd(mm, datediff(mm, 0, @PrvMthLstDay)+1, 0)
where datename(dw, dt) like 'S%'
where not datename(dw, dt) like 'S%'
Open in new window
Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.