Query temp table in stored proc whilst debugging in SQL 2008 Management Studio

前端 未结 4 503
再見小時候
再見小時候 2020-12-31 01:43

I have a really large stored procedure which calls other stored procedures and applies the results into temp tables.

I am debugging in SQL 2008 Management Studio and

4条回答
  •  误落风尘
    2020-12-31 02:18

    simply dont drop temp table or close transaction

    eg

    select * into #temp from myTable
    
    select * from #temp
    

提交回复
热议问题