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
3 months agoEmerson
2 months agoLatrice
2 months agoShawna
2 months agoDorthy
2 months agoJulio
3 months agoHollis
3 months agoHoward
3 months agoMi
3 months agoSocorro
3 months agoAnnice
4 months agoIrma
4 months agoStephanie
3 months agoStephanie
3 months agoLenita
4 months agoSocorro
4 months ago