0

I'm using SQL Server 2012. I have a stored procedure that outputs 2 tables. I need to insert those 2 result set in two separate temp tables. I am using

INSERT INTO #TempTable
EXEC [dbo].[SomeSP]

but it only catch the first table.

Is there anyone knows how to do it? Thanks in advance.

a_horse_with_no_name
  • 497,550
  • 91
  • 775
  • 843

0 Answers0