BOL říká:
Takže musíte převést [val1], 1000 a [val2] na typy float:
[Total] AS CAST ( ((CAST ([val1] as float)/CAST (1000 as float)) * CAST ([val2] as float)) AS DECIMAL(18,2)) PERSISTED
BOL říká:
Takže musíte převést [val1], 1000 a [val2] na typy float:
[Total] AS CAST ( ((CAST ([val1] as float)/CAST (1000 as float)) * CAST ([val2] as float)) AS DECIMAL(18,2)) PERSISTED