Reputation: 767
How do I create a report with a Stored Procedure which has an output parameter? The report can be developed but returning the output parameter is what I am trying to figure out.
Upvotes: 3
Views: 2251
Reputation: 9042
SSRS does not support output parameters by default.
If your SP does not return any resultset, you can get the output parameters by wrapping the SP call in a regular query text:
DECLARE @x
EXEC dbo.YourSP @outX = @x OUTPUT
SELECT @x
Upvotes: 3