I want to join results of two different store procedures that returns same structure
in following fashion:
EXEC StoreProcedure1 p1
UNION
EXEC StoreProcedure2 p2
I realize that is not possible, can sombody suggest elegant alternative?
I beleive I should use temp table ?
Thanks
You could convert the stored procedures into user defined functions that return tables instead and do: