>>>Why not, if that will help you to get what you want.
>>
>>Yes, I was unable to find a better way to get what I want. Besides, it may come handy in other situations too.
>
>Output parameters are better because from SP you could only return an integer.
I didn't know this.
If it's not broken, fix it until it is.
My Blog