基表添加组织屏蔽

BEGIN
  dbms_rls.add_policy(object_schema   => 'APPS',
                      object_name     => 'CUX_FOREX_TRANSFER_BILLS', --同义词,不带_ALL
                      policy_name     => 'ORG_SEC',                  --组织屏蔽
                      function_schema => 'APPS',
                      policy_function => 'MO_GLOBAL.ORG_SECURITY',
                      policy_type     => dbms_rls.shared_context_sensitive);
END;

你可能感兴趣的:(基表添加组织屏蔽)