David,
Can you make sp1 or complex query into UDF?
>
>>O, I see, you need both S Ps but sometimes you need only @@ROWCOUNT from S P 1, and you don't want to use Table variables. I'm thinking, I'm thinking... :-)
>
>Yes.
>
>I wish I could do something like this in the Count SP:
>
>
>select OneColumn
> from exec SP1
>
--sb--