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.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 creating a temp table with out "#" ?

Author  Topic 

Yak Posting Veteran

98 Posts

Posted - 2007-07-31 : 16:16:32
Dont all temporary tables have to be created with a # sign at the front of the name ? Im looking through some code for a dts package, where one part of it is supposedly creating a temp table, but its not named with a #

huh ?

Almighty SQL Goddess

38200 Posts

Posted - 2007-07-31 : 16:21:24
Then it isn't a temp table.

People use this term also for tables that exist only during a batch process. The fact that it is created in the beginning of the batch and dropped at the end makes it temporary to the database in terms of time only, but it is not a temp table.

Tara Kizer
Go to Top of Page

Not Just a Number

15586 Posts

Posted - 2007-07-31 : 16:25:15
I call them staging tables

They need to get their terminolgy straight

I would also not DROP and Create Tables all the time. If it's required for a process, then just TRUNCATE it.



Hint: Want your questions answered fast? Follow the direction in this link

Add yourself!

Go to Top of Page

- Advertisement -