Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Testing Temp Tables
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

48 Posts

Posted - 08/15/2013 :  15:12:51  Show Profile  Reply with Quote
I working with temp tables for the first time.
I've created the table #TempDashboard
defined the columns and created queries to fill the records using


I've been pointed to an example in a stored procedure. I sorta understand what I read in the stored procedure.

Mimicing what I see, I have no idea if I am doing it correctly.

I'm using SQL Server Management Studio 2008. How do I test/see if I am filling the temp table correctly?

James K
Flowing Fount of Yak Knowledge

3873 Posts

Posted - 08/15/2013 :  16:09:36  Show Profile  Reply with Quote
After you fill the temp table, do a SELECT * FROM #TempDashboard
That should show you what you put into the table.

If you create a temp table, it goes out of scope when you exit the stored procedure.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000