Home Forums SQL Server 2008 T-SQL (SS2K8) Returning stored procedure results into a CTE or temp table? RE: Returning stored procedure results into a CTE or temp table?

  • Excellent suggestion. Also,

    insert into #tab

    exec (@MyDynamicCode)

    But "insert into" will only insert into an existing table. What about creating a new table?