Varchar invalid for Sum operator

Try doing this:

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

Leave a Comment

tech