hi all

got a situation here, there are 3 app server that are running this
application to delete records in the sql server
periodically. what happen is that they all start up at the same time.(this
could be fixed by varying the start up
time on each app server for that application, but it's not a good solution.)
to delete records on the same table.

so there is:
transaction (process ID #100) was deadlocked with another process and
has been chosen as the deadlock victim. Rerun your transaction."

now I have read some article online saying putting a "with (UPDLOCK)" after
the FROM <some table> will
fix the problem.

does anybody have the similar experience? what would be a perfect fix?


thx


Kevin