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?
Oneida
6 months agoKattie
6 months agoOneida
7 months agoOneida
7 months agoIlda
7 months agoLaurel
7 months agoOdette
7 months agoIlda
7 months agoEdelmira
8 months agoKip
8 months agoGlory
8 months agoLaquanda
8 months agoGwenn
8 months agoCarry
8 months agoWilletta
7 months agoStephane
7 months ago