SQL Server 取前一天的0点和23点59分59秒
startDate endDate
----------------------- -----------------------
2014-05-19 00:00:00.000 2014-05-19 23:59:59.000
startDate endDate
----------------------- -----------------------
2014-05-19 00:00:00.000 2014-05-19 23:59:59.000