Sql 判断日期是否在本月内

datediff(mm,getdate(),Date)=0

也就是判断和当前月份差是否为0

posted @ 2021-11-25 14:17  RookieCoderAdu  阅读(1011)  评论(0)    收藏  举报