您的位置:首页 > 博客中心 > 数据库 >

mssql中得到当天数据的语句

时间:2022-03-14 00:38

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

 

热门排行

今日推荐

热门手游