摘要: WITH x ( dy ,mth ) AS ( SELECT dy ,month(dy) FROM ( SELECT dateadd(mm, 1, (getdate() - datepart(dy, getdate())) + 1) dy ) tmp1 UNION ALL SELECT datead 阅读全文
posted @ 2020-10-22 15:37 飞扬92 阅读(128) 评论(0) 推荐(0) 编辑