Andy,
Don't insult my inteligence, please. Quoiting your massage "In addiotion to the way Sergey showed, you can also do it using a Private Variable in an in-line SQL Passthrough statement like this:". It shows that you either misread or misunderstand original question because return valie of stored procedure cannot be retrieved the way you suggested. Maybe you meant to offer alternative but it didn't came out this way. Playing offended doesn't change the fact than you where wrong and don't want to admit that.
>Hi Sergey
>
>>it turned out that you where answering wrong question.
>
>Well pardon me. And here I was thinking I was suggesting an alternative approach to the problem.
>I am sorry to be so stupid and really appreciate your putting me straight on this.
--sb--