BOL säger:
Så du måste konvertera [val1], 1000 och [val2] till flyttyper:
[Total] AS CAST ( ((CAST ([val1] as float)/CAST (1000 as float)) * CAST ([val2] as float)) AS DECIMAL(18,2)) PERSISTED
BOL säger:
Så du måste konvertera [val1], 1000 och [val2] till flyttyper:
[Total] AS CAST ( ((CAST ([val1] as float)/CAST (1000 as float)) * CAST ([val2] as float)) AS DECIMAL(18,2)) PERSISTED