To ensure that a transaction does not hang if it cannot obtain a lock, which of the following statements should be executed?
Options
- UPDATE ... NOWAIT
- FOR UPDATE ... WAIT
- FOR UPDATE ... NOWAIT
- UPDATE ... WAIT
CORRECT ANSWER : FOR UPDATE ... NOWAIT
Write your comments