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?
Eliz
4 months agoLigia
4 months agoAlease
3 months agoKarol
5 months agoYaeko
4 months agoRefugia
4 months agoRoslyn
5 months agoAnnette
5 months agoDominic
5 months agoQuentin
4 months agoAlesia
4 months agoMarg
4 months agoMicheline
5 months ago