Merge branch 'master' of git.wmi.amu.edu.pl:s26450/hurtownia

This commit is contained in:
Mariusz Sielski 2019-01-22 21:35:20 +01:00
commit 04a2640826

View File

@ -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)