Raise Exception for Insert Statement
Hello All,
Hope everyone know that when we try to do an Insert on a table in two different session with the same unique key then in the second session the application will hang.
Instead of hanging or waiting in another session, do we have any option to raise an Exception saying "Parallel Duplicate insertion is active." or to do Insert with NOWAIT so that it throws an Error.
Thanks in advance.
Regards,
Yathish