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.