Oracle Error ORA-07432: unable to perform nested sleep

Oracle Error Message

ORA-07432: unable to perform nested sleep

Reason for the Error

An attempt was made to make a process sleep when it was already sleeping. This platform does not support this capability.

Solution

Try the SLEEP command when the process is not sleeping.