multithreading - Multiple thread accessing same DB tables from two different DB connections -
i have threads running on program(each thread has own connection db), want access same tables cause problems?
to simple
i have:
2 threads t1 , t2
2 db connections c1 , c2
1 table dbtable1
t1 uses c1 , t2 uses c2
t1 keep on inserting, deleting, updating table dbtable1
t2 reading table dbtable1
will there issues?
i using ms sql server.
databases designed handle concurrent users in these scenarios using transactions.
Comments
Post a Comment