摘要: 当天数据:select * from tableName where datediff(day, 字段名,getdate())=0 本周数据:select * from tableName where datediff(week, 字段名,getdate())=0 本月:select * from 阅读全文
posted @ 2022-02-10 16:58 金虹巴巴 阅读(2209) 评论(0) 推荐(0) 编辑