Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drop table problem
Message
De
17/02/2005 10:15:01
 
 
À
17/02/2005 10:09:55
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00986632
Message ID:
00987927
Vues:
58
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform