I have a stored procedure that returns the total number of records(INT) obtained for a particular parameter value(customer type).
I need to create a report that runs this stored procedure for several different parameter values and displays the total for each type.
The original SP does not have output parameters,and since this is an important SP, we would rather not mess with it.
Is it possible for me to grab the return value into a variable? That way, I can use the variables in my report.
Please help.
Thanks in advance.