CREATE TABLE #tmp(
col1, type,

col2, type

)

INSERT INTO #tmp
exec proc

 

— DO NOT FORGET TO DROP THE TEMPORARY TABLE!

Advertisements