BOL siger:
Så du skal konvertere [val1], 1000 og [val2] til flydende typer:
[Total] AS CAST ( ((CAST ([val1] as float)/CAST (1000 as float)) * CAST ([val2] as float)) AS DECIMAL(18,2)) PERSISTED
BOL siger:
Så du skal konvertere [val1], 1000 og [val2] til flydende typer:
[Total] AS CAST ( ((CAST ([val1] as float)/CAST (1000 as float)) * CAST ([val2] as float)) AS DECIMAL(18,2)) PERSISTED