Please start any new threads on our new site at http://forums.sqlteam.com. 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
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 creating a temp table with out "#" ?
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

BitShift
Yak Posting Veteran

98 Posts

Posted - 07/31/2007 :  16:16:32  Show Profile  Reply with Quote
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

USA
38200 Posts

Posted - 07/31/2007 :  16:21:24  Show Profile  Visit tkizer's Homepage  Reply with Quote
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 - 07/31/2007 :  16:25:15  Show Profile  Reply with Quote
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




Edited by - X002548 on 07/31/2007 16:26:16
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