Error
Error Code:
ORA-28091
ORA-28091: Invalid PL/SQL Usage
Description
The ORA-28091 error indicates an unsupported usage of a PL/SQL function within an Oracle Label Security policy expression. This typically occurs when the policy expression uses PL/SQL functions with non-constant parameters, which is not allowed.
Error Message
ORA-28091: unsupported use of PL/SQL function string . string . string in policy expression
Known Causes
3 known causesNon-Constant Parameters
The Oracle Label Security functions NUMERIC_LABEL, CHAR_TO_LABEL, and SA_SESSION require constant parameters. Using variables or dynamically generated values will trigger this error.
Unsupported Function Usage
The policy expression might be using a PL/SQL function in a way that is not supported by Oracle Label Security. Refer to the Oracle documentation for allowed usages.
Incorrect Function Syntax
The PL/SQL function might be called with an incorrect syntax or invalid arguments within the policy expression.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service