Snowflake, Column Level Security, Dynamic Data Masking.
select * from customer; use role useradmin; use schema demo.my_sch; use warehouse compute_wh; select * from customer; Creating Dynamic Masking Policy use role sysadmin; create or replace masking policy pii_masking_policy as (pii_text string) returns string -> case when current_role() in