Please start any new threads on our new site at https://forums.sqlteam.com. 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 

BitShift
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 ?

tkizer
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
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

X002548
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.



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page
   

- Advertisement -