Sqlserver
 sql >> Database >  >> RDS >> Sqlserver

Varchar non valido per l'operatore Somma

Prova a fare questo:

Select Acct,Period,F_year, Sum(isnull(cast(AMT as float),0)) as Amt
from dbo.Cos
Group By Acct,Period,F_year