Hello All -
I am running into a brick wall with a simple SQL Task attempting to return (output) the value from a stored procedure into a global variable. I have tried both OLE DB and ADO.NET connection types and have Googled for hours (finding a lot of complaints) but no solution thus far.
Connection is good, variable declared at project level (Int32), result set variable is named the same as column name in the sproc, and all is 'green' but the variable does not get changed (remains at -1)
SQL Statement: exec DAILY_INTPRD_ROWCOUNT_sp ? output
Result Set: Single Row
Anybody have anymore input or ideas? I would like to get this to work because of the heavy use of SSIS for my ETL process - else I would just code this type of stuff and be done.
Thanks in advance -
Scott
I am running into a brick wall with a simple SQL Task attempting to return (output) the value from a stored procedure into a global variable. I have tried both OLE DB and ADO.NET connection types and have Googled for hours (finding a lot of complaints) but no solution thus far.
Connection is good, variable declared at project level (Int32), result set variable is named the same as column name in the sproc, and all is 'green' but the variable does not get changed (remains at -1)
SQL Statement: exec DAILY_INTPRD_ROWCOUNT_sp ? output
Result Set: Single Row
Anybody have anymore input or ideas? I would like to get this to work because of the heavy use of SSIS for my ETL process - else I would just code this type of stuff and be done.
Thanks in advance -
Scott