It's not possible to do as you coded. However, you can do the following. Create a temporary table to hold the output of the SP. Insert the output of the SP into the table. Select from the table.
Insert Into #t Exec ('sproc ''TX''')
Insert Into #t Exec ('sproc ''CA''')
Select * From #t
Drop table #t Terry Broadbent
Please review faq183-874.
"The greatest obstacle to discovery is not ignorance -- it is the illusion of knowledge." - Daniel J Boorstin
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.