ORA-06538: statement violates string RESTRICT_REFERENCES pragma
What triggered the Error:
The program attempted to execute a dynamic statement which does not meet the purity level specified (in the pragma RESTRICT_REFERENCES directive) for the module executing the statement.What should we do to fix it:
Ensure that the dynamic statement meets the purity level specified for the module executing the statement.