摘要: 方法一:set @EndDate = dateadd(month, datediff(month, -1, @StoredDate), -1) @StoredDate为本月的任意一天 这里datediff(month, -1, @StoredDate)会返回从1900年1月1日为基准,算出此基准到@ 阅读全文
posted @ 2018-10-05 17:02 覆雨翻云 阅读(3435) 评论(0) 推荐(0) 编辑