sqlserver2012新函数取月最后一天


Warning: Undefined array key "HTTP_REFERER" in /www/wwwroot/prod/www.enjoyasp.net/wp-content/plugins/google-highlight/google-hilite.php on line 58

SELECT DATEADD(dd,1,EOMONTH(GETDATE(),-1)),EOMONTH(GETDATE())
-- -1是取上个月