Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax qustion when creating TEMP table on the fly
Message
From
17/04/2003 08:44:46
 
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00778391
Message ID:
00778780
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform