mdm vergütung
This commit is contained in:
@@ -3428,11 +3428,11 @@ Module Mail
|
|||||||
SELECT
|
SELECT
|
||||||
COUNT(*) AS Anzahl,
|
COUNT(*) AS Anzahl,
|
||||||
Datenquelle,
|
Datenquelle,
|
||||||
MONTH([Transaction date]) AS [Month],
|
MONTH(Billingdate) AS [Month],
|
||||||
YEAR([Transaction date]) AS [Year]
|
YEAR(Billingdate) AS [Year]
|
||||||
FROM [VERAG].[dbo].[tblMautbericht]
|
FROM [VERAG].[dbo].[tblMautbericht]
|
||||||
WHERE YEAR([Transaction date]) = " & yearVal & " and Datenquelle not in ('IDS')
|
WHERE YEAR(Billingdate) = " & yearVal & " and Datenquelle not in ('IDS')
|
||||||
GROUP BY Datenquelle, MONTH([Transaction date]), YEAR([Transaction date])
|
GROUP BY Datenquelle, MONTH(Billingdate), YEAR(Billingdate)
|
||||||
) AS temp
|
) AS temp
|
||||||
ORDER BY Datenquelle, temp.[Year], temp.[Month];"
|
ORDER BY Datenquelle, temp.[Year], temp.[Month];"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user