Instead of using floor to "truncate" the time part, use the date-only date type : DECLARE @StartDate date = '20180720', ...
確定! 回上一頁