— 啟動 Database Mail exec sp_configure ‘show […]
●上個月的第一天 SELECT DATEADD(mm, DATEDIFF(mm,0,getdate())-1, […]