Merge branch 'master' of git.wmi.amu.edu.pl:s26450/hurtownia
This commit is contained in:
commit
04a2640826
@ -59,8 +59,8 @@ WHILE @FromDate <= @ToDate
|
|||||||
SELECT
|
SELECT
|
||||||
@FromDate as time_bk,
|
@FromDate as time_bk,
|
||||||
convert(nvarchar(10), @FromDate,20) AS time_string,
|
convert(nvarchar(10), @FromDate,20) AS time_string,
|
||||||
MONTH(@FromDate) AS [month],
|
|
||||||
YEAR(@FromDate) AS [year],
|
YEAR(@FromDate) AS [year],
|
||||||
|
MONTH(@FromDate) AS [month],
|
||||||
DAY(@FromDate) AS [day],
|
DAY(@FromDate) AS [day],
|
||||||
DATENAME(QUARTER,@FromDate) AS [quarter]
|
DATENAME(QUARTER,@FromDate) AS [quarter]
|
||||||
SET @FromDate = DATEADD(DAY, 1, @FromDate)
|
SET @FromDate = DATEADD(DAY, 1, @FromDate)
|
||||||
|
Loading…
Reference in New Issue
Block a user