We have a program that runs at 5pm each night for around 15 minutes. Sometimes if users are on the system and accessing any of the three tables that the 5 pm program updates, the updates will fail.
Lets say the program updates tableA, B, and C.
Is there a way to write a script that says get exclusive lock on tableA, B, and C for 5pm program?
We don't have access to the source, otherwise I could use table hint or perhaps setting an isolation level, but we only have the object.
Any ideas would really be appreciated.
bob
Lets say the program updates tableA, B, and C.
Is there a way to write a script that says get exclusive lock on tableA, B, and C for 5pm program?
We don't have access to the source, otherwise I could use table hint or perhaps setting an isolation level, but we only have the object.
Any ideas would really be appreciated.
bob