diff --git a/sql/create.sql b/sql/create.sql index 01e2931..ff20e02 100644 --- a/sql/create.sql +++ b/sql/create.sql @@ -59,8 +59,8 @@ WHILE @FromDate <= @ToDate SELECT @FromDate as time_bk, convert(nvarchar(10), @FromDate,20) AS time_string, - MONTH(@FromDate) AS [month], YEAR(@FromDate) AS [year], + MONTH(@FromDate) AS [month], DAY(@FromDate) AS [day], DATENAME(QUARTER,@FromDate) AS [quarter] SET @FromDate = DATEADD(DAY, 1, @FromDate)