I have two views that pull two sets of data. The order of the columns in the two views are exactly the same:
View1 - Standard, WaterLevel, FixedCost
View2 - Standard, WaterLevel, FixedCost
I then run a SQL statement that creates a union:
Select * From View1
union
Select * From View2
Problem is that when I view the results the data that should be in the WaterLevel column is placed in the FixedCost column. I have run both views seperately, and they are in the correct order when I run them. In the union the data is switched between these two columns.
Any help would reduce the pain in my head.
View1 - Standard, WaterLevel, FixedCost
View2 - Standard, WaterLevel, FixedCost
I then run a SQL statement that creates a union:
Select * From View1
union
Select * From View2
Problem is that when I view the results the data that should be in the WaterLevel column is placed in the FixedCost column. I have run both views seperately, and they are in the correct order when I run them. In the union the data is switched between these two columns.
Any help would reduce the pain in my head.