Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

OCI-12448

The OLS policy policy_name has not been applied on schema or table name.
  • policy_name: The name of the policy applied on the schema or table.
  • name: The name of the schema or table for which the policy is being altered, enabled or disabled.

Cause

An attempt was made to alter, enable or disable an Oracle Label Security (OLS) policy on a schema or table. This attempt failed since the OLS policy was not applied to the table.


Action

Review the list of policies applied to tables or schemas in LBACSYS.DBA_SA_SCHEMA_POLICIES or LBACSYS.DBA_SA_TABLE_POLICIES. Select a different policy, table or schema and ensure the policy is already applied to the table or schema.