Hello I have a proc called Test_ProcA and I want to call Test_ProcB. I created a temp table called #temp with matching names and data types returned by Test_ProcB.
How do I insert the result set returned by Test_ProcB into #temp. When I try doing that I keep getting this error:
An
INSERT EXECstatement cannot be nested.
Any ideas and suggestions on what needs to be done.