Get startedGet started for free

Applying an object tag

Claro's compliance officer has asked the data team to tag the email column in CORE.USERS so it surfaces in governance reports and can feed into downstream masking policy decisions. A sensitivity tag with allowed values 'PII', 'INTERNAL', and 'PUBLIC' has already been created in the CORE schema. Your task is to apply it to the email column with a value of 'PII'.

This exercise is part of the course

Snowflake Management, Governance & Collaboration

View Course

Exercise instructions

  • Use ALTER TABLE ... MODIFY COLUMN ... SET TAG to apply the sensitivity tag to the email column in CORE.USERS with a value of 'PII'.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

ALTER TABLE CORE.USERS
    MODIFY COLUMN ___ SET TAG ___.___ = '___';
Edit and Run Code