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?
Catina
4 months agoDaniel
4 months agoLavera
4 months agoLigia
4 months agoVeronika
5 months agoRonald
5 months agoNida
5 months agoEliz
5 months agoLatricia
5 months agoMelda
5 months agoAn
5 months agoMozell
5 months agoGlory
5 months agoCherry
6 months agoYolande
1 year agoEmerson
1 year agoLatrice
1 year agoShawna
1 year agoDorthy
1 year agoJulio
1 year agoHollis
1 year agoHoward
1 year agoMi
1 year agoSocorro
1 year agoAnnice
1 year agoIrma
1 year agoStephanie
1 year agoStephanie
1 year agoLenita
1 year agoSocorro
1 year ago