From d37da03c51e5cd74a1ffd2cf6d7bdbef7a22961f Mon Sep 17 00:00:00 2001 From: s26453 Date: Tue, 22 Jan 2019 20:27:06 +0000 Subject: [PATCH] Zaktualizuj 'sql/create.sql' --- sql/create.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/create.sql b/sql/create.sql index 00e0614..cb164ac 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)