The SA_SYSDBA package is used to manage label security policies, such as creating, modifying, and deleting them.
To use this PL/SQL package, you must have the EXECUTE privilege. The SA_SYSDBA package is a privilege package, and you must grant the INHERIT PRIVILEGES privilege to the SYS user before using it:
GRANT INHERIT PRIVILEGES ON USER SYS TO LBACSYS;
You only need to grant this privilege to the SYS user and do not need to grant it to other users.
The following table lists the contents of the SA_SYSDBA package supported by OceanBase Database in the current version.
| Procedure | Description |
|---|---|
| SA_SYSDBA.ALTER_POLICY | Modifies a label security policy. |
| SA_SYSDBA.CREATE_POLICY | Creates a label security policy. |
| SA_SYSDBA.DROP_POLICY | Drops a label security policy. |
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
