I have a view which has balances for nominal codes.
I have the nominal code on each row with the periods Jan-Dec in each column
I would like to change so that each nominal code has 12 rows (1 for each month)
I am creating the query SQL Server Management Studio - This view can then be pulled into Sage. The current view is
SELECT TOP (1000) [AccountNumber]
,[Jan17]
,[Feb17]
,[Mar17]
,[Apr17]
,[May17]
,[Jun17]
,[Jul17]
,[Aug17]
,[Sep17]
,[Oct17]
,[Nov17]
,[Dec17]
From Sage_200.dbo.NominalBalance
I require each month to have a row for each nominal code instead of one row and each month having its own column.
Thanks