how to select a temp table in database when debugging?

Viewed 62908

I create a temp table #temp1 in code, then insert the table in code. I want to select the table in sqlserver when debugging the code. but It can’t . sql server Prompt no talbe called the name . even in database tempdb. how to select a temp table in database when debugging?

1 Answers
Related