test.Belege_Bilanz_SKR.sql 419 B

1234567891011121314151617181920
  1. SET QUOTED_IDENTIFIER ON
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. CREATE VIEW [test].[Belege_Bilanz_SKR] AS
  6. SELECT year([Invoice_Date]) AS [Jahr]
  7. , [Rechtseinheit_ID]
  8. , [Ebene71]
  9. , [Ebene72]
  10. , [Ebene73]
  11. , sum([Ist]) AS [Ist_Bilanz]
  12. FROM [transform].[Belege_Bilanz_SKR]
  13. GROUP BY year([Invoice_Date]), [Rechtseinheit_ID], [Ebene71], [Ebene72], [Ebene73]
  14. GO
  15. SET QUOTED_IDENTIFIER OFF
  16. GO
  17. SET ANSI_NULLS OFF
  18. GO
  19. GO