Oracle Error ORA-48244: Purge for Retention can’t be called while in an Query

Oracle Error Message

ORA-48244: Purge for Retention can’t be called while in an Query

Reason for the Error

A query is already running – purge for retention can’t be invoked

Solution

Fix call sequence