2020年2月22日

sql语句中的到期查询

摘要: 使用DATEDIFF函数,类如 select * from Patents where DATEDIFF(month,ApplicantDate,GETDATE())<=1 and DATEDIFF(month,ApplicantDate,GETDATE())>=0 查询距离查询日期一个月以内的数据 阅读全文

posted @ 2020-02-22 17:27 hanzq_go 阅读(711) 评论(0) 推荐(0) 编辑

导航