I am using SQL Server 2005 Business Intelligence Studio and struggling with integer return from a very simple SQL execution task. For a very simple test, I wrote an SQL statement like:
Select 35 As 'TotalRecords'
Then I set the ResultSet as
ResultName = TotalRecords and VariableName = User::TotalRecords
When I execute this, the statement is executed, but the variable has no updated value. However, it has a default value that I set when defining the variable.
Returning a date variable works, but an integer variable does not work. The type of the specified User::TotalRecords is Int32 in the package area.
Thanks for any tips.
source share