Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax qustion when creating TEMP table on the fly
Message
De
17/04/2003 08:44:46
 
 
À
16/04/2003 15:53:52
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00778391
Message ID:
00778780
Vues:
15
>1) the code I want to write is itself part of a large transaction. If have a smaller BEGIN/END TRANS in the code you sent, will that 'mess up' my larger transaction? [I wouldn't think it would, but figured I'd ask]

You would only run into issues if you did a rollback on one of nested transactions. It will cause a rollback on all of them.

-Mike

>Interesting! I have 2 questions...
>
>1) the code I want to write is itself part of a large transaction. If have a smaller BEGIN/END TRANS in the code you sent, will that 'mess up' my larger transaction? [I wouldn't think it would, but figured I'd ask]
>
>2) if two different users happen to do something in the application such that this code executes at exactly the same time, would it bomb? [since the name of the global temp name is the same]
>
>Thanks,
>Kevin
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform