Examine the command below:
BEGIN DBMS_REDACT.ADD_POLICY(
object_schema => 'mavis',
object_name => 'cust_info',
column_name => 'emp_id',
policy_name => 'redact_cust_ids',
function_type => DBMS_REDACT.REGEXP,
expression => '1=1',
regexp_pattern => '(\d\d\d)(\d\d)(\d\d\d\d)',
regexp_replace_string => 'XXXXX\3',
regexp_position => 1,
regexp_occurrence => 0,
regexp_match_parameter => 'i',
policy_description => 'Redacts customer IDs',
column_description => 'emp_id contains employee ID numbers');
END;
/
What do the regexp_pattern and regexp_replace_string parameters accomplish?
Yolande
5 months agoEmerson
4 months agoLatrice
4 months agoShawna
4 months agoDorthy
5 months agoJulio
5 months agoHollis
5 months agoHoward
5 months agoMi
5 months agoSocorro
5 months agoAnnice
6 months agoIrma
6 months agoStephanie
5 months agoStephanie
5 months agoLenita
6 months agoSocorro
6 months ago