D
Danish Mustafa via .NET 247
I'm trying to do mass inserts/updates. Using Transactions.
The table hierarchy contains 3 tables (TL1, TL2, and TL3):
Here is what I'm trying to accomplish:
1) Start Begin Transaction ()
2) check for Existing records
3) Grab the ID from step 2 by doing a SELECT on table TL1
4) Do an Insert/Update in table TL2 in a lopp these are child record by getting ID from TL3.
this work for the first time but then exception of time out expired occured while reading data again from the TL1.
and i wanna know how deep a nested transaction can work.
The table hierarchy contains 3 tables (TL1, TL2, and TL3):
Here is what I'm trying to accomplish:
1) Start Begin Transaction ()
2) check for Existing records
3) Grab the ID from step 2 by doing a SELECT on table TL1
4) Do an Insert/Update in table TL2 in a lopp these are child record by getting ID from TL3.
this work for the first time but then exception of time out expired occured while reading data again from the TL1.
and i wanna know how deep a nested transaction can work.