The SA_SESSION.ROW_LABEL procedure returns the name of the row label associated with the policy for the current session.
Syntax
SA_SESSION.ROW_LABEL (
policy_name IN VARCHAR)
RETURN VARCHAR;
Parameters
| Parameter | Description |
|---|---|
| policy_name | The policy name. You can query the POLICY_NAME column of the ALL_SA_POLICIES data dictionary view for existing policies. |
Examples
Return the row label associated with shield_agent_policy.
SELECT SA_SESSION.ROW_LABEL ('shield_agent_policy') FROM DUAL;