Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drop table problem
Message
From
17/02/2005 10:15:01
 
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00986632
Message ID:
00987927
Views:
61
Kevin,

I know, I use table variables almost exclusively. I was just wondering about what the scope might be, just for clarification purposes.

~~Bonnie

>I'm not positive of this, but I had thought temp tables were scoped to the connection. Either way, I agree with you, a DROP at the end is a good idea.
>
>Going back to Agnes' original question, you may want to look at Sergey's suggestion of derived tables, or even using table variables. Both are often more efficient than temp tables.
>
>Kevin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform