摘要: 主要用到sql 函数 DATEDIFF(datepart,startdate,enddate) startdate=日期字段名称 --查询 今日select * from tableA where DateDiff(dd,datetime类型字段,getdate())= 0 --查询 昨日selec 阅读全文
posted @ 2020-04-15 16:44 WebApi 阅读(1416) 评论(0) 推荐(0) 编辑
CopyRight © 博客园 WebAPI