hi
i am using below statement and taking result into variable.
select sum(paymentamount) as totalamount from [dbo].[SampleSourceData]
single row ,but getting error :
[Execute SQL Task] Error: An error occurred while assigning a value to variable "totalamount": "Input string was not in a correct format.".
any help?