mssql中得到当天数据的语句

 更新时间:2007年08月18日 22:36:41   作者:  
一条例子:
select count(point_id) as today_sum from point where datediff(d,point_date,getdate())=0
关键语句:
 datediff(d,point_date,getdate())=0

相关文章

最新评论