Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Edgemere5
Starting Member
4 Posts |
Posted - 2010-10-09 : 11:39:42
|
A developer, more experienced than myself, insists on creating temp tables within a transaction. See the below example. ______________________________Begin TranCreate Table #Names (col1 int, col2 varchar(25))COMMIT Tran______________________________This seems stupid to me, but is there any good reason for this? |
|
russell
Pyro-ma-ni-yak
5072 Posts |
Posted - 2010-10-09 : 13:07:50
|
if that is all they're doing inside the transaction, then it is a bad thing and they need to get out of the habit of using transactions unecessarily |
 |
|
|
|
|