SELECT object_owner, object_name, column_name, function_type, function_parameters, regexp_pattern, regexp_replace_string, regexp_position, regexp_occurrence, regexp_match_parameter, column_description FROM redaction_columns WHERE object_owner = DECODE(UPPER('&1'), 'ALL', object_owner, UPPER('&1')) AND object_name = DECODE(UPPER('&2'), 'ALL', object_name, UPPER('&2')) ORDER BY 1, 2, 3;