Hi,
I have two process running parallel. One process(process1) is deleting rows in table 1. But in another process(process2) table2 is getting inserted with rows.
Table2 has table1's primary key as reference. Here the process1 locks the table 1 while deleting. But process2 seeks the table1 for inserting the data in table 2.
S0 these tables creates the dead lock.
How to avoid this deadlock situation?
Thanks In Advance,
Dinesh.