在MSSQL日数据表 一个例子: select count(point_id)从点在DateDiff today_sum(D,point_date,getdate()) 关键语句: DateDiff(D,point_date,getdate())= 0