Unknown number of columns returned from EXEC result.
INSERT INTO #FullTempClr ([Id], [Value1],[Value2], ..., [Value11])
EXEC [report].[TestReport] @Id
Howerver, sometimes TestReport returns Id and 10 values, sometimes Id and 11 and sometimes Id and 1 value. If only Valu1 is available, we need to put null or 0 into other values. Is it possible on this level to do this or the only way is to modify [report].TestReport?
SQL Server 2008 r2