mssql中得到当天数据的语句
发布时间:2007-08-18 作者: 来源:转载
一条例子:selectcount(point_id)astoday_sumfrompointwheredatediff(d,point_date,getdate())=0关键语句:datediff(d,point_date,getdate())=0
一条例子:
selectcount(point_id)astoday_sumfrompointwheredatediff(d,point_date,getdate())=0
关键语句:
datediff(d,point_date,getdate())=0