How to determine purity level
510282May 2 2006 — edited May 3 2006Hi everybody!
Oracle determines purity levels of each stored procedure/function during validation/compilation. We can also set it "manually" by using pragma_restrict declarations.
For certain dynamic maintenance processes we need to know the situation...
Where is it stored? Is there a simple way to query it from some system view rather than to try executing "select my_function(my_arguments) from dual" and encount "ORA-06571: Function MY_FUNCTION does not guarantee not to update database"
I have searched for some for the answer. However have not discovered any easy way to determine (query) it.
Any suggestions are welcome, thanks in advance...
Jaan