I am also faced the problem but still no solution for retruning a value.
Instead returning trough RETURN I am genearting the result from the SP by
SELECT <column> and in Result Set page of the Task editor am assigning
<column> to the a variable and it did work.
Try this, you may get a solution.
thanks,
Mathew
> Hi,
>
[quoted text clipped - 21 lines]
>
> Can anyone tell me what I am doing wrong?
Todd C - 19 Dec 2006 20:21 GMT
Couple of things that are not always so obvious:
In some cases, the Result set in an Execute SQL Task must be named "0", not
the default of "FirstResultSet" or whatever else it puts there.
Next, instead of creating a Variable and THEN assigning the resultset to the
variable, try creating the variable from within the SQL Task by selecting
"<New Variable>" in the variable name column of the Result set page.
Both have worked for me in fixing errors.
HTH

Signature
Todd Chittenden
> I am also faced the problem but still no solution for retruning a value.
> Instead returning trough RETURN I am genearting the result from the SP by
[quoted text clipped - 31 lines]
> >
> > Can anyone tell me what I am doing wrong?