I have a stored procedure which returns a dataset
Let's say its name is spx and it returns
I'd name
1. Abc
2. Def
I want to get it's result in a temp table in another stored procedure dynamically like if in future I change the dataset in my above so it will reflect here
Like this
exec spx
It will execute the SP and I want it's result set in a table
Any help would be much appreciated. Thanks.