zl程序教程

您现在的位置是:首页 >  大数据

当前栏目

mssql中得到当天数据的语句

数据 mssql 语句 得到 当天
2023-06-13 09:13:57 时间
一条例子:
select count(point_id) as today_sum from point where datediff(d,point_date,getdate())=0
关键语句:
 datediff(d,point_date,getdate())=0