mssql中得到当天数据的语句

一条例子: selectcount(point_id)astoday_sumfrompointwheredatediff(d,point_date,getdate())=0 关键语句: datediff(d,point_date,getdate())=0

一条例子: select count(point_id) as today_sum from point where datediff(d,point_date,getdate())=0 关键语句:  datediff(d,point_date,getdate())=0

上一篇 mysql怎样对字段求和
下一篇 Oracle 怎么启动?