sql server - sql deadlock in transaction scope -


i have transaction scope , to:

using (var scope = new transactionscope()) {    1) insert row table1    2) select rows table1  (incuding inserted row in step 1)    3) insert row table1     4) select rows table1 (incuding inserted row in step 1 , 3) } 

is there chance sql deadlock in operations? i'm usig entity framework db work. i'm not sure this.

thank you,

have nice day.

there should no problems this.

the inserts may lock other users out, or lock other transactions made yourself, not lock doing in same sql transaction.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -