Hi,
I have a method
void SaveApplicationData()
{
begin transaction
update
insert
commit transaction
}
if two users call this method at same time, can these two database transaction run at same time?
thanks!
Hi,
I have a method
void SaveApplicationData()
{
begin transaction
update
insert
commit transaction
}
if two users call this method at same time, can these two database transaction run at same time?
thanks!
Large numbers of transactions can be running simultaneously. However, if they're updating the same rows, they may well have locking problems, and one or more may be rolled back. (It's a long time since I dealt with conflicting transactions.)