Snowflake, Column Level Security, Dynamic Data Masking.
when lower(region) != 'europe' then pii_text else '***Masked***' end; desc masking policy pii_conditional_masking_policy; alter table global_customer modify column govt_id set masking policy pii_conditional_masking_policy using(govt_id, region); select * from global_customer order ; show masking