If I have a table MyTable
like this:
Value1 decimal
Then I have a view MyView
:
Select SUM(Value1) as SumValue1 from MyTable
When I look at the view's column data type in SSMS under the view's columns section it is a decimal.
Now if I modify the table to:
Value1 real
If I refresh the view's column section in SSMS the data type is still a decimal. Now if I open the view and resave it, the datatype becomes a float.
Is this how it is supposed to be? It seems that the view doesn't change until I resave it.