Oracle OLS_ENFORCEMENT
Version 26ai

General Information
Library Note Morgan's Library Page Header
The best Oracle News for FY2026

Oracle Database 26ai will be available on generic Linux platforms in January and soon on AIX and Windows
Purpose Enable and Disable Oracle Label Security (OLS)
AUTHID CURRENT_USER
Dependencies
DBMS_PRIV_CAPTURE LBAC$EVENT_LIBT LBAC_SERVICES
DBMS_SQL LBAC_LGSTNDBY_UTIL LBAC_STANDARD
DBMS_SYS_SQL    
Documented Yes
Exceptions
Error Code Reason
ORA-12459 Oracle Label Security not configured
First Available Not Known
Security Model Owned by SYS with EXECUTE granted to DVSYS and LBACSYS
Source {ORACLE_HOME}/rdbms/admin/prvtolsdd.plb

See also olsu121.sql and olse121.sql but do not run these 12c scripts.
Subprograms
 
DISABLE_OLS
Disables Label Security ols_enforcement.disable_ols;
exec ols_enforcement.disable_ols;

PL/SQL procedure_successfully completed.
 
ENABLE_OLS
Enables Label Security ols_enforcement.enable_ols;
exec ols_enforcement.enable_ols;

PL/SQL procedure_successfully completed.

Related Topics
Built-in Functions
Built-in Packages
Database Security
LBAC_EVENTS
LBAC_EXP
LBAC_POLICY_ADMIN
LBAC_POLICY_ADMIN_INT
LBAC_SESSION
LBAC_STANDARD
LBAC_SYSDBA
OLS$DATAPUMP
OLS_UTIL_WRAPPER
Oracle Label Security (OLS)
SA_COMPONENTS
SA_LABEL_ADMIN
SA_SYSDBA
SA_USER_ADMIN
TO_LABEL_LIST
What's New In 21c
What's New In 26ai

Morgan's Library Page Footer
This site is maintained by Daniel Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2026 Daniel A. Morgan All Rights Reserved