MSSQL Select records only today Posted on 26 9 月 by 偉 Today – SELECT COUNT (*) FROM table WHERE DATEDIFF(Day, createtime, getdate() ) <= 0