Oracle Error ORA-12721: operation cannot execute when other sessions are active

Oracle Error Message

ORA-12721: operation cannot execute when other sessions are active

Reason for the Error

This command can only be run when there are no other sessions active

Solution

Ensure there are no other connections to the database