I have a stored procedure I need to call several different times passing in different paramaters each time. I would like to collect the results as a single dataset. Is somet
You can use INSERT EXEC for this.
INSERT EXEC
declare @myRetTab table (somcolumn ...) insert @myRetTab exec StoredProcName @param1
Then use union on the table variable or variables.