Snowflake SQL Tutorial 167 - I Removed A Value From A Tag's Allowed List And The Object Kept It

Snowflake SQL · Episode 167

In this post we are going to cover tags and object tagging in Snowflake.

A tag is a named object, and you set it on something with a value. That is the easy part. The interesting part is how little of it is still being checked a minute later.

We will start with the tags that are already on the account, make two of our own, and build it up step by step. On the way we will put a value on an object, remove that value from the tag's own allowed list, and find the object still wearing it.

Every customer below is invented.

Episode 167 of the Snowflake SQL: Zero to Hero series on TechBrothersIT.

Let's create some sample data

We need some objects to label. The script below makes a schema for this post, a small customers table and an orders table.

Sample data
-- Sample data for this post. Every customer is invented.
USE DATABASE DEMO_DB;

CREATE OR REPLACE SCHEMA DEMO_DB.TAGS_T167
  COMMENT = 'episode 167 - tags, dropped at the end';

USE SCHEMA DEMO_DB.TAGS_T167;

CREATE OR REPLACE TABLE DEMO_DB.TAGS_T167.CUSTOMERS_T167 (
  CUSTOMER_ID NUMBER,
  FULL_NAME   VARCHAR(60),
  CITY        VARCHAR(40),
  CARD_LAST4  VARCHAR(4)
);

INSERT INTO DEMO_DB.TAGS_T167.CUSTOMERS_T167
       (CUSTOMER_ID, FULL_NAME, CITY, CARD_LAST4)
VALUES (1, 'Rosalind Vane',  'Leeds',      '4417'),
       (2, 'Hector Okonjo',  'Manchester', '8820'),
       (3, 'Priya Raman',    'Bristol',    '1093'),
       (4, 'Tomas Lindqvist','Glasgow',    '7756');

CREATE OR REPLACE TABLE DEMO_DB.TAGS_T167.ORDERS_T167 (
  ORDER_ID    NUMBER,
  CUSTOMER_ID NUMBER,
  AMOUNT      NUMBER(10,2)
);

INSERT INTO DEMO_DB.TAGS_T167.ORDERS_T167 (ORDER_ID, CUSTOMER_ID, AMOUNT)
VALUES (10, 1, 240.00),
       (11, 2, 1875.50),
       (12, 3, 96.25);
Query
SELECT * FROM DEMO_DB.TAGS_T167.CUSTOMERS_T167 ORDER BY CUSTOMER_ID;
Result4 rows · 4 columns
CUSTOMER_IDFULL_NAMECITYCARD_LAST4
1Rosalind VaneLeeds4417
2Hector OkonjoManchester8820
3Priya RamanBristol1093
4Tomas LindqvistGlasgow7756
Query
SELECT * FROM DEMO_DB.TAGS_T167.ORDERS_T167 ORDER BY ORDER_ID;
Result3 rows · 3 columns
ORDER_IDCUSTOMER_IDAMOUNT
101240.00
1121875.50
12396.25

And the control, before anything is created

There is one role excursion near the end of this post, so the secondary roles are switched off first and proved off.

Query
USE SECONDARY ROLES NONE;
Result1 row · 1 column
status
Statement executed successfully.
Query
SELECT CURRENT_ROLE() AS THE_ROLE, CURRENT_SECONDARY_ROLES() AS THE_SECONDARY_ROLES;
Result1 row · 2 columns
THE_ROLETHE_SECONDARY_ROLES
ACCOUNTADMIN{"roles":"","value":""}

First, twelve tags you already have

Before writing a single CREATE TAG, let's see what the account already has. I had created nothing at all at this point.

Query
SHOW TAGS IN ACCOUNT;
Result12 rows · 11 columns · scroll →
Wide grid — the comment and allowed_values columns are long. Scroll right
created_onnamedatabase_nameschema_nameownercommentallowed_valuesowner_role_typepropagateon_conflictmulti_value
2026-05-13 11:59:18.583000-07:00PRODUCT_CATEGORYSNOWFLAKEALERTProduct category for an alert (mirrors the alert template product taxonomy: OPENFLOW, DATA_QUALITY, TASKS, DYNAMIC_TABLES, SNOWPIPE, SNOWPIPE_STREAMING, ICEBERG, SNOWPARK, FUNCTIONS, CORTEX_SEARCH, CORTEX_ANALYST, CORTEX_AGENT, WAREHOUSE, BILLING, CORTEX, STORAGE, DATA_TRANSFER, SECURITY, REPLICATION)["OPENFLOW","DATA_QUALITY","TASKS","DYNAMIC_TABLES","SNOWPIPE","SNOWPIPE_STREAMING","ICEBERG","SNOWPARK","FUNCTIONS","CORTEX_SEARCH","CORTEX_ANALYST","CORTEX_AGENT","WAREHOUSE","BILLING","CORTEX","STORAGE","DATA_TRANSFER","SECURITY","REPLICATION"]NONENULLfalse
2026-05-13 11:59:18.447000-07:00SUBCATEGORYSNOWFLAKEALERTSubcategory for an alert (mirrors the alert template subcategory taxonomy: GENERAL_CONNECTORS, GENERAL_RUNTIME, GENERAL_RUNTIME_GEN2, CHANGE_DATA_CAPTURE, CHANGE_DATA_CAPTURE_GEN2, GENERAL_CONNECTORS_GEN2, REFRESH_STATUS)["GENERAL_CONNECTORS","GENERAL_RUNTIME","GENERAL_RUNTIME_GEN2","CHANGE_DATA_CAPTURE","CHANGE_DATA_CAPTURE_GEN2","GENERAL_CONNECTORS_GEN2","REFRESH_STATUS"]NONENULLfalse
2026-03-24 01:58:08.912000-07:00CERTIFICATION_STATUSSNOWFLAKECOREIndicates the current validation and readiness level of the data for production use.["DRAFT","TO BE REVIEWED","IN REVIEW","CERTIFIED","REJECTED","DEPRECATED"]NONENULLfalse
2021-05-13 18:25:14.246000-07:00PRIVACY_CATEGORYSNOWFLAKECOREPrivacy category of a column: sensitive, quasi_identifier, or identifier["IDENTIFIER","INSENSITIVE","QUASI_IDENTIFIER","SENSITIVE"]NONENULLfalse
2021-05-13 18:29:14.071000-07:00SEMANTIC_CATEGORYSNOWFLAKECOREDescribes the category of data in a columnNULLNONENULLfalse
2025-06-24 02:09:44.747000-07:00SKIP_SENSITIVE_DATA_CLASSIFICATIONSNOWFLAKECOREWhether or not to exclude the object from sensitive data classification.["TRUE","FALSE"]NONENULLfalse
2026-09-21 18:34:22.684000-07:00CERTIFICATION_STATUSSNOWFLAKETAGSSNOWFLAKEIndicates the current validation and readiness level of the data for production use.["DRAFT","TO BE REVIEWED","IN REVIEW","CERTIFIED","REJECTED","DEPRECATED"]APPLICATIONNONENULLfalse
2026-09-21 18:34:22.572000-07:00COST_CENTERSNOWFLAKETAGSSNOWFLAKEAssociates data with a cost center for cost allocation and management.NULLAPPLICATIONNONENULLfalse
2026-09-21 18:34:23.614000-07:00ENVIRONMENTSNOWFLAKETAGSSNOWFLAKEIdentifies the deployment environment an object belongs to (production, staging, test, or development).["PRODUCTION","STAGING","TEST","DEVELOPMENT"]APPLICATIONNONENULLfalse
2026-09-21 18:34:23.751000-07:00PROJECTSNOWFLAKETAGSSNOWFLAKEAssociates an object with a project for organization and cost tracking.NULLAPPLICATIONNONENULLfalse
2026-09-21 18:34:23.882000-07:00SENSITIVITYSNOWFLAKETAGSSNOWFLAKEClassifies the sensitivity level of data on an object or column. Allowed values are ordered from most to least sensitive. If you are on Enterprise Edition or higher, a role with APPLY TAG ON ACCOUNT can enable automatic propagation by running ALTER TAG SNOWFLAKE.TAGS.SENSITIVITY SET PROPAGATE = ON_DEPENDENCY_AND_DATA_MOVEMENT ON_CONFLICT = ALLOWED_VALUES_SEQUENCE, which makes the most sensitive value win on conflict.["RESTRICTED","CONFIDENTIAL","INTERNAL","PUBLIC"]APPLICATIONNONENULLfalse
2026-09-21 18:34:26.814000-07:00SKIP_TAG_PROPAGATIONSNOWFLAKETAGSSNOWFLAKEApply to a column or table to exclude it from tag propagation cascades.NULLAPPLICATIONNONENULLfalse
Query
SELECT COUNT(*) AS TAGS_ALREADY_HERE
  FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()));
Result1 row · 1 column
TAGS_ALREADY_HERE
12

Twelve, and look at the database column. Every one of them is in SNOWFLAKE, across three schemas: ALERT, CORE and TAGS. These came with the account.

One of them is worth reading properly. SNOWFLAKE.TAGS.SENSITIVITY has four allowed values, and its own comment says they are ordered from most sensitive to least.

Look first

So check what is already there before you create one. A governance tag somebody will recognise is better than a governance tag only your team knows about, and there is a reasonable chance the one you were about to write already exists.

That grid is also a good place to point out something about empty cells. In the owner and comment columns an unset value comes back as an empty string, which is why those cells are blank rather than reading NULL. In allowed_values and on_conflict it is a real SQL NULL, and those cells say so. The two are different things and the grids on this page do not pretend otherwise.

Now let's make the two kinds of tag

The simplest tag is a name and a comment, and nothing else.

Query
CREATE OR REPLACE TAG DEMO_DB.TAGS_T167.OWNER_TEAM_T167
  COMMENT = 'episode 167 - free-text tag, any value allowed';
Result1 row · 1 column
status
Tag OWNER_TEAM_T167 successfully created.
Query
SELECT "name", "database_name", "schema_name", "owner", "comment", "allowed_values"
  FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()));
Result1 row · 6 columns · scroll →
namedatabase_nameschema_nameownercommentallowed_values
OWNER_TEAM_T167DEMO_DBTAGS_T167ACCOUNTADMINepisode 167 - free-text tag, any value allowedNULL

Note the allowed_values column: a real NULL. This tag will take any value we give it.

Now the other kind. A tag that says, in the CREATE statement, which values it will accept.

Query
CREATE OR REPLACE TAG DEMO_DB.TAGS_T167.SENSITIVITY_T167
  ALLOWED_VALUES 'PUBLIC', 'INTERNAL', 'RESTRICTED'
  COMMENT = 'episode 167 - three allowed values, and I am about to test that';
Result1 row · 1 column
status
Tag SENSITIVITY_T167 successfully created.
Query
SELECT "name", "allowed_values", "comment"
  FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()));
Result1 row · 3 columns
nameallowed_valuescomment
SENSITIVITY_T167["PUBLIC","INTERNAL","RESTRICTED"]episode 167 - three allowed values, and I am about to test that

A JSON array in allowed_values, with the three values we named.

Query
SELECT COUNT(*) AS MY_TAGS
  FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()));
Result1 row · 1 column
MY_TAGS
2

Two tags of our own. Neither of them is on anything yet.

Let's set a tag on a table

Setting a tag is ALTER on whatever you are labelling, then SET TAG, then the value.

Query
ALTER TABLE DEMO_DB.TAGS_T167.CUSTOMERS_T167
  SET TAG DEMO_DB.TAGS_T167.OWNER_TEAM_T167 = 'data-platform';
Result1 row · 1 column
status
Statement executed successfully.
Query
ALTER TABLE DEMO_DB.TAGS_T167.CUSTOMERS_T167
  SET TAG DEMO_DB.TAGS_T167.SENSITIVITY_T167 = 'RESTRICTED';
Result1 row · 1 column
status
Statement executed successfully.

Two tags on one table, which is allowed. Now let's ask what is on that table.

Query
SELECT TAG_DATABASE, TAG_SCHEMA, TAG_NAME, TAG_VALUE, LEVEL, OBJECT_NAME
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.CUSTOMERS_T167', 'TABLE'));
Result2 rows · 6 columns · scroll →
TAG_DATABASETAG_SCHEMATAG_NAMETAG_VALUELEVELOBJECT_NAME
DEMO_DBTAGS_T167OWNER_TEAM_T167data-platformTABLECUSTOMERS_T167
DEMO_DBTAGS_T167SENSITIVITY_T167RESTRICTEDTABLECUSTOMERS_T167

Two rows, two values, and LEVEL reads TABLE on both. TAG_REFERENCES is the function that answers this question, and we will use it all the way through.

Query
SELECT COUNT(*) AS TAGS_THE_FUNCTION_FOUND
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.CUSTOMERS_T167', 'TABLE'));
Result1 row · 1 column
TAGS_THE_FUNCTION_FOUND
2

And what the account-level view says

There is also a view in ACCOUNT_USAGE for the same question. Let's ask it about the same table.

Query
SELECT TAG_NAME, TAG_VALUE, OBJECT_NAME, DOMAIN
  FROM SNOWFLAKE.ACCOUNT_USAGE.TAG_REFERENCES
 WHERE OBJECT_NAME = 'CUSTOMERS_T167'
 ORDER BY TAG_NAME;
Result0 rows · 4 columns
TAG_NAMETAG_VALUEOBJECT_NAMEDOMAIN
Query
SELECT COUNT(*) AS TAGS_THE_VIEW_FOUND
  FROM SNOWFLAKE.ACCOUNT_USAGE.TAG_REFERENCES
 WHERE OBJECT_NAME = 'CUSTOMERS_T167';
Result1 row · 1 column
TAGS_THE_VIEW_FOUND
0

Nought. And asked about every tag reference it knows of anywhere, the same answer.

Query
SELECT COUNT(*) AS EVERY_TAG_REFERENCE_THE_VIEW_KNOWS
  FROM SNOWFLAKE.ACCOUNT_USAGE.TAG_REFERENCES;
Result1 row · 1 column
EVERY_TAG_REFERENCE_THE_VIEW_KNOWS
0

That is consistent with the latency these account usage views always have. The tag was set seconds earlier. I am not going to claim more than the grid shows.

Now let's see whether the allowed values list means anything

Let's put a value from the list on the orders table.

Query
ALTER TABLE DEMO_DB.TAGS_T167.ORDERS_T167
  SET TAG DEMO_DB.TAGS_T167.SENSITIVITY_T167 = 'INTERNAL';
Result1 row · 1 column
status
Statement executed successfully.
Query
SELECT TAG_NAME, TAG_VALUE, OBJECT_NAME
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.ORDERS_T167', 'TABLE'));
Result1 row · 3 columns
TAG_NAMETAG_VALUEOBJECT_NAME
SENSITIVITY_T167INTERNALORDERS_T167

That took. Now a value that is not on the list, on the same tag and the same table.

Query
ALTER TABLE DEMO_DB.TAGS_T167.ORDERS_T167
  SET TAG DEMO_DB.TAGS_T167.SENSITIVITY_T167 = 'TOP_SECRET';
Query failed — Snowflake returned an error
391826 (23001): Value 'TOP_SECRET' is not allowed by the specified allowed_values for tag 'SENSITIVITY_T167'.

391826, and the message names the value and the tag. Let's check what the object says now.

Query
SELECT TAG_NAME, TAG_VALUE, OBJECT_NAME
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.ORDERS_T167', 'TABLE'));
Result1 row · 3 columns
TAG_NAMETAG_VALUEOBJECT_NAME
SENSITIVITY_T167INTERNALORDERS_T167

The old value survived. Nothing was half written.

Now the same string on the free-text tag, which has no list at all.

Query
ALTER TABLE DEMO_DB.TAGS_T167.ORDERS_T167
  SET TAG DEMO_DB.TAGS_T167.OWNER_TEAM_T167 = 'TOP_SECRET';
Result1 row · 1 column
status
Statement executed successfully.
Query
SELECT TAG_NAME, TAG_VALUE, OBJECT_NAME
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.ORDERS_T167', 'TABLE'))
 ORDER BY TAG_NAME;
Result2 rows · 3 columns
TAG_NAMETAG_VALUEOBJECT_NAME
OWNER_TEAM_T167TOP_SECRETORDERS_T167
SENSITIVITY_T167INTERNALORDERS_T167

Accepted. So the list is doing real work: two tags, one value, one yes and one no.

And now the part worth knowing about allowed values

Let's add that refused value to the tag's allowed list.

Query
ALTER TAG DEMO_DB.TAGS_T167.SENSITIVITY_T167 ADD ALLOWED_VALUES 'TOP_SECRET';
Result1 row · 1 column
status
Statement executed successfully.
Query
SELECT "name", "allowed_values"
  FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()));
Result1 row · 2 columns
nameallowed_values
SENSITIVITY_T167["PUBLIC","INTERNAL","RESTRICTED","TOP_SECRET"]

Four values now. So let's run the SET TAG that was refused a minute ago.

Query
ALTER TABLE DEMO_DB.TAGS_T167.ORDERS_T167
  SET TAG DEMO_DB.TAGS_T167.SENSITIVITY_T167 = 'TOP_SECRET';
Result1 row · 1 column
status
Statement executed successfully.
Query
SELECT TAG_NAME, TAG_VALUE
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.ORDERS_T167', 'TABLE'))
 ORDER BY TAG_NAME;
Result2 rows · 2 columns
TAG_NAMETAG_VALUE
OWNER_TEAM_T167TOP_SECRET
SENSITIVITY_T167TOP_SECRET

It takes. The orders table now reads TOP_SECRET on both tags.

Now let's take that value back off the list

The object is using it. I predicted this would be refused.

Query
ALTER TAG DEMO_DB.TAGS_T167.SENSITIVITY_T167 DROP ALLOWED_VALUES 'TOP_SECRET';
Result1 row · 1 column
status
Statement executed successfully.

It succeeds. And the list is back to three.

Query
SELECT "name", "allowed_values"
  FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()));
Result1 row · 2 columns
nameallowed_values
SENSITIVITY_T167["PUBLIC","INTERNAL","RESTRICTED"]

So that value is no longer permitted by this tag. Let's ask the object what it is labelled.

Query
SELECT TAG_NAME, TAG_VALUE
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.ORDERS_T167', 'TABLE'))
 ORDER BY TAG_NAME;
Result2 rows · 2 columns
TAG_NAMETAG_VALUE
OWNER_TEAM_T167TOP_SECRET
SENSITIVITY_T167TOP_SECRET
Checked once, and never again

TOP_SECRET. The allowed values list is checked when you write a value, and never again. So you can end up with an object labelled with a value its own tag does not permit, and nothing anywhere tells you. Nothing re-validates, and nothing warned us when we removed the value.

Let's tag a column and a schema too

A tag does not have to go on a whole table. Let's put one on a single column.

Query
ALTER TABLE DEMO_DB.TAGS_T167.CUSTOMERS_T167
  MODIFY COLUMN CARD_LAST4
  SET TAG DEMO_DB.TAGS_T167.SENSITIVITY_T167 = 'RESTRICTED';
Result1 row · 1 column
status
Statement executed successfully.

Now let's ask about the table.

Query
SELECT TAG_NAME, TAG_VALUE, LEVEL, OBJECT_NAME, COLUMN_NAME
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.CUSTOMERS_T167', 'TABLE'))
 ORDER BY LEVEL, TAG_NAME;
Result2 rows · 5 columns
TAG_NAMETAG_VALUELEVELOBJECT_NAMECOLUMN_NAME
OWNER_TEAM_T167data-platformTABLECUSTOMERS_T167NULL
SENSITIVITY_T167RESTRICTEDTABLECUSTOMERS_T167NULL

Two rows, both at TABLE level, and COLUMN_NAME is a real NULL on both. The column's own tag is not in there.

Now let's ask about the column instead.

Query
SELECT TAG_NAME, TAG_VALUE, LEVEL, COLUMN_NAME
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.CUSTOMERS_T167.CARD_LAST4', 'COLUMN'));
Result2 rows · 4 columns
TAG_NAMETAG_VALUELEVELCOLUMN_NAME
OWNER_TEAM_T167data-platformTABLECARD_LAST4
SENSITIVITY_T167RESTRICTEDCOLUMNCARD_LAST4

Two rows again, and this time the LEVEL column earns its keep. One row is the column's own tag at COLUMN level. The other is the table's tag at TABLE level, which the column inherits.

So a column shows you its own labels and the ones it inherits, and tells you which is which.

And a schema is an object too

Query
ALTER SCHEMA DEMO_DB.TAGS_T167
  SET TAG DEMO_DB.TAGS_T167.OWNER_TEAM_T167 = 'data-platform';
Result1 row · 1 column
status
Statement executed successfully.
Query
SELECT TAG_NAME, TAG_VALUE, LEVEL, OBJECT_NAME, DOMAIN
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167', 'SCHEMA'));
Result1 row · 5 columns
TAG_NAMETAG_VALUELEVELOBJECT_NAMEDOMAIN
OWNER_TEAM_T167data-platformSCHEMATAGS_T167SCHEMA

One tag, with LEVEL and DOMAIN both reading SCHEMA.

Now the obvious place to look, which does not help

Let's try DESCRIBE TABLE on the tagged table.

Query
DESCRIBE TABLE DEMO_DB.TAGS_T167.CUSTOMERS_T167;
Result4 rows · 13 columns · scroll →
Thirteen columns, and not one of them is about tags — scroll right
nametypekindnull?defaultprimary keyunique keycheckexpressioncommentpolicy nameprivacy domainwrite default
CUSTOMER_IDNUMBER(38,0)COLUMNYNULLNNNULLNULLNULLNULLNULLNULL
FULL_NAMEVARCHAR(60)COLUMNYNULLNNNULLNULLNULLNULLNULLNULL
CITYVARCHAR(40)COLUMNYNULLNNNULLNULLNULLNULLNULLNULL
CARD_LAST4VARCHAR(4)COLUMNYNULLNNNULLNULLNULLNULLNULLNULL
Query
SELECT "name", "type", "null?", "comment"
  FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()));
Result4 rows · 4 columns
nametypenull?comment
CUSTOMER_IDNUMBER(38,0)YNULL
FULL_NAMEVARCHAR(60)YNULL
CITYVARCHAR(40)YNULL
CARD_LAST4VARCHAR(4)YNULL

Columns, types, nullability and comments. Nothing about tags at all. That is the third post running where the catalogue answer is somewhere other than DESCRIBE.

Two mistakes of mine, and what they taught me

Both of these are left on the page, because the refusals are better than the statements were.

A tag goes on a view as well, so let's make one and label it.

Query
CREATE OR REPLACE VIEW DEMO_DB.TAGS_T167.BIG_ORDERS_T167 AS
SELECT ORDER_ID, CUSTOMER_ID, AMOUNT
  FROM DEMO_DB.TAGS_T167.ORDERS_T167
 WHERE AMOUNT > 100;
Result1 row · 1 column
status
View BIG_ORDERS_T167 successfully created.
Query
ALTER VIEW DEMO_DB.TAGS_T167.BIG_ORDERS_T167
  SET TAG DEMO_DB.TAGS_T167.SENSITIVITY_T167 = 'PUBLIC';
Result1 row · 1 column
status
Statement executed successfully.

That worked. Then I asked TAG_REFERENCES about the view, passing VIEW as the object type.

Query
SELECT TAG_NAME, TAG_VALUE, DOMAIN, OBJECT_NAME
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.BIG_ORDERS_T167', 'VIEW'));
Query failed — Snowflake returned an error
391806 (0A000): SQL compilation error: Invalid value VIEW for argument OBJECT_TYPE. Please use object type TABLE for all kinds of table-like objects.

391806, and the second sentence is the answer: please use object type TABLE for all kinds of table-like objects. The function groups views in with tables, and the error says so better than my query asked.

Asked the right way, the schema's tag shows up on a table inside it as well.

Query
SELECT TAG_NAME, TAG_VALUE, LEVEL, OBJECT_NAME, DOMAIN
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.ORDERS_T167', 'TABLE'))
 ORDER BY LEVEL, TAG_NAME;
Result2 rows · 5 columns
TAG_NAMETAG_VALUELEVELOBJECT_NAMEDOMAIN
OWNER_TEAM_T167TOP_SECRETTABLEORDERS_T167TABLE
SENSITIVITY_T167INTERNALTABLEORDERS_T167TABLE
Query
SELECT COUNT(*) AS ROWS_FOR_THE_ORDERS_TABLE
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.ORDERS_T167', 'TABLE'));
Result1 row · 1 column
ROWS_FOR_THE_ORDERS_TABLE
2

And the second mistake

I wanted the account-wide view that answers this question with lineage, so I wrote the name I thought it had and ran it.

Query
SELECT TAG_NAME, TAG_VALUE, OBJECT_NAME, COLUMN_NAME
  FROM SNOWFLAKE.ACCOUNT_USAGE.TAG_REFERENCES_WITH_LINEAGE
 WHERE TAG_NAME = 'SENSITIVITY_T167'
 ORDER BY OBJECT_NAME;
Query failed — Snowflake returned an error
002003 (42S02): SQL compilation error:
Object 'SNOWFLAKE.ACCOUNT_USAGE.TAG_REFERENCES_WITH_LINEAGE' does not exist or not authorized. Your primary role ACCOUNTADMIN must have at least one privilege granted on TABLE SNOWFLAKE.ACCOUNT_USAGE.TAG_REFERENCES_WITH_LINEAGE.

002003. It is not on this account. I named a view without proving it was there first, which is exactly the habit this course exists to avoid.

The views that are there have nothing in them yet, for the same latency reason as before.

Query
SELECT COUNT(*) AS OBJECTS_WITH_THAT_TAG
  FROM SNOWFLAKE.ACCOUNT_USAGE.TAG_REFERENCES
 WHERE TAG_NAME = 'SENSITIVITY_T167';
Result1 row · 1 column
OBJECTS_WITH_THAT_TAG
0
Query
SELECT COUNT(*) AS MY_TAGS_THE_VIEW_KNOWS
  FROM SNOWFLAKE.ACCOUNT_USAGE.TAGS
 WHERE TAG_NAME LIKE '%\\_T167' ESCAPE '\\';
Result1 row · 1 column
MY_TAGS_THE_VIEW_KNOWS
0

Now four things that just work

Let's set a tag that is already on the table to a different value.

Query
ALTER TABLE DEMO_DB.TAGS_T167.CUSTOMERS_T167
  SET TAG DEMO_DB.TAGS_T167.OWNER_TEAM_T167 = 'analytics';
Result1 row · 1 column
status
Statement executed successfully.
Query
SELECT TAG_NAME, TAG_VALUE, LEVEL, COLUMN_NAME
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.CUSTOMERS_T167', 'TABLE'))
 ORDER BY LEVEL, TAG_NAME;
Result2 rows · 4 columns
TAG_NAMETAG_VALUELEVELCOLUMN_NAME
OWNER_TEAM_T167analyticsTABLENULL
SENSITIVITY_T167RESTRICTEDTABLENULL
Query
SELECT COUNT(*) AS TAGS_ON_THE_CUSTOMERS_TABLE
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.CUSTOMERS_T167', 'TABLE'));
Result1 row · 1 column
TAGS_ON_THE_CUSTOMERS_TABLE
2

Still two rows. SET TAG on a tag an object already carries replaces the value rather than adding a second one.

Now let's unset one, and then unset it again.

Query
ALTER TABLE DEMO_DB.TAGS_T167.ORDERS_T167
  UNSET TAG DEMO_DB.TAGS_T167.OWNER_TEAM_T167;
Result1 row · 1 column
status
Statement executed successfully.
Query
SELECT TAG_NAME, TAG_VALUE
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.ORDERS_T167', 'TABLE'))
 ORDER BY TAG_NAME;
Result2 rows · 2 columns
TAG_NAMETAG_VALUE
OWNER_TEAM_T167data-platform
SENSITIVITY_T167TOP_SECRET

Look carefully at that grid. The free-text tag is still listed, but its value has changed to the one we set on the schema. The table's own value was hiding the schema's, and removing it let the schema's value show through.

How we know which one that is

That is read off the value rather than off a LEVEL column, because the statement above does not ask for one. The schema's value was set in the last section but one, and the table's own was something else entirely.

And unsetting the same tag a second time, when the table no longer has one of its own.

Query
ALTER TABLE DEMO_DB.TAGS_T167.ORDERS_T167
  UNSET TAG DEMO_DB.TAGS_T167.OWNER_TEAM_T167;
Result1 row · 1 column
status
Statement executed successfully.

Statement executed successfully. Not an error, which is the same answer a masking policy gave in Episode 165 for the same shape of statement.

A name that already exists

Query
CREATE TAG DEMO_DB.TAGS_T167.OWNER_TEAM_T167
  COMMENT = 'episode 167 - should not appear';
Query failed — Snowflake returned an error
002002 (42710): SQL compilation error:
Object 'DEMO_DB.TAGS_T167.OWNER_TEAM_T167' already exists.

002002. With IF NOT EXISTS it succeeds instead.

Query
CREATE TAG IF NOT EXISTS DEMO_DB.TAGS_T167.OWNER_TEAM_T167
  COMMENT = 'episode 167 - should not appear';
Result1 row · 1 column
status
OWNER_TEAM_T167 already exists, statement succeeded.
Query
SELECT "name", "comment"
  FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()));
Result1 row · 2 columns
namecomment
OWNER_TEAM_T167episode 167 - free-text tag, any value allowed

And the comment is the original one. IF NOT EXISTS noticed the tag was there and stopped, so the comment in the statement we just ran never landed.

And a duplicate allowed value

I marked this one as expected to fail too.

Query
CREATE OR REPLACE TAG DEMO_DB.TAGS_T167.DUPES_T167
  ALLOWED_VALUES 'A', 'B', 'A';
Result1 row · 1 column
status
Tag DUPES_T167 successfully created.
Query
SELECT "name", "allowed_values"
  FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()));
Result1 row · 2 columns
nameallowed_values
DUPES_T167["A","B"]

Created, and the duplicate was silently dropped. Two values stored out of the three we wrote.

And two typos, for completeness

Query
ALTER TABLE DEMO_DB.TAGS_T167.ORDERS_T167
  SET TAG DEMO_DB.TAGS_T167.NO_SUCH_TAG_T167 = 'anything';
Query failed — Snowflake returned an error
002003 (02000): SQL compilation error:
Tag 'DEMO_DB.TAGS_T167.NO_SUCH_TAG_T167' does not exist or not authorized. Your primary role ACCOUNTADMIN must have at least one privilege granted on TAG DEMO_DB.TAGS_T167.NO_SUCH_TAG_T167.
Query
ALTER TABLE DEMO_DB.TAGS_T167.NO_SUCH_TABLE_T167
  SET TAG DEMO_DB.TAGS_T167.OWNER_TEAM_T167 = 'anything';
Query failed — Snowflake returned an error
002003 (42S02): SQL compilation error:
Table 'DEMO_DB.TAGS_T167.NO_SUCH_TABLE_T167' does not exist or not authorized. Your primary role ACCOUNTADMIN must have at least one privilege granted on TABLE DEMO_DB.TAGS_T167.NO_SUCH_TABLE_T167.

The same 002003 from both, naming the tag in one case and the table in the other.

Now dropping, where tags part company with policies

First the easy direction. Let's make a throwaway table, tag it, and drop the table.

Query
CREATE OR REPLACE TABLE DEMO_DB.TAGS_T167.DOOMED_T167 (ID NUMBER);
Result1 row · 1 column
status
Table DOOMED_T167 successfully created.
Query
ALTER TABLE DEMO_DB.TAGS_T167.DOOMED_T167
  SET TAG DEMO_DB.TAGS_T167.OWNER_TEAM_T167 = 'about-to-vanish';
Result1 row · 1 column
status
Statement executed successfully.
Query
SELECT TAG_NAME, TAG_VALUE, OBJECT_NAME
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.DOOMED_T167', 'TABLE'));
Result1 row · 3 columns
TAG_NAMETAG_VALUEOBJECT_NAME
OWNER_TEAM_T167about-to-vanishDOOMED_T167
Query
DROP TABLE DEMO_DB.TAGS_T167.DOOMED_T167;
Result1 row · 1 column
status
DOOMED_T167 successfully dropped.

The table goes, as you would expect. And the tag?

Query
SELECT COUNT(*) AS TAG_STILL_EXISTS
  FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()));
Result1 row · 1 column
TAG_STILL_EXISTS
1

Still there. Dropping an object does not drop the tags that were on it, which is fair enough.

Now the other direction

The free-text tag is set on the customers table and on the schema right now. Let's drop the tag.

Query
DROP TAG DEMO_DB.TAGS_T167.OWNER_TEAM_T167;
Result1 row · 1 column
status
OWNER_TEAM_T167 successfully dropped.

successfully dropped. No refusal, no warning, and no mention of what it was attached to.

Query
SELECT "name", "comment"
  FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()))
 ORDER BY "name";
Result2 rows · 2 columns
namecomment
DUPES_T167
SENSITIVITY_T167episode 167 - three allowed values, and I am about to test that

And the customers table reports one tag where it had two.

Query
SELECT TAG_NAME, TAG_VALUE, LEVEL, COLUMN_NAME
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.CUSTOMERS_T167', 'TABLE'))
 ORDER BY LEVEL, TAG_NAME;
Result1 row · 4 columns
TAG_NAMETAG_VALUELEVELCOLUMN_NAME
SENSITIVITY_T167RESTRICTEDTABLENULL
Query
SELECT COUNT(*) AS TAGS_LEFT_ON_THE_CUSTOMERS_TABLE
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.CUSTOMERS_T167', 'TABLE'));
Result1 row · 1 column
TAGS_LEFT_ON_THE_CUSTOMERS_TABLE
1

So every reference to that tag went with it, on every object that carried it.

Three posts, three answers

Compare that with the last two posts. A masking policy that is attached refuses to be dropped with 003531. A row access policy that is attached refuses the same way. A tag does not refuse at all.
Tags and objects do not protect each other in either direction, and that is worth knowing before you write a DROP TAG in a script.

Can a read-only role see the labels?

Let's make a role with usage and select and nothing else, holding no privilege on any tag.

A read-only role
-- A role with nothing but usage and select. No privilege on any tag.
-- The GRANT ROLE line names a user; YOUR_USER_NAME stands in for mine.
CREATE OR REPLACE ROLE RTAG_T167
  COMMENT = 'episode 167 - can read the table, holds nothing on the tag';

GRANT USAGE  ON DATABASE  DEMO_DB           TO ROLE RTAG_T167;
GRANT USAGE  ON SCHEMA    DEMO_DB.TAGS_T167 TO ROLE RTAG_T167;
GRANT SELECT ON TABLE     DEMO_DB.TAGS_T167.CUSTOMERS_T167 TO ROLE RTAG_T167;
GRANT USAGE  ON WAREHOUSE COMPUTE_WH        TO ROLE RTAG_T167;

GRANT ROLE RTAG_T167 TO USER YOUR_USER_NAME;
Query
USE ROLE RTAG_T167;
Result1 row · 1 column
status
Statement executed successfully.
Query
SELECT CURRENT_ROLE() AS THE_ROLE, CURRENT_SECONDARY_ROLES() AS THE_SECONDARY_ROLES;
Result1 row · 2 columns
THE_ROLETHE_SECONDARY_ROLES
RTAG_T167{"roles":"","value":""}

It can read the table, which is what it was granted.

Query
SELECT CUSTOMER_ID, FULL_NAME, CITY
  FROM DEMO_DB.TAGS_T167.CUSTOMERS_T167
 ORDER BY CUSTOMER_ID;
Result4 rows · 3 columns
CUSTOMER_IDFULL_NAMECITY
1Rosalind VaneLeeds
2Hector OkonjoManchester
3Priya RamanBristol
4Tomas LindqvistGlasgow

Now can it see what that table is labelled?

Query
SELECT TAG_NAME, TAG_VALUE, LEVEL, COLUMN_NAME
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.CUSTOMERS_T167', 'TABLE'))
 ORDER BY TAG_NAME;
Result1 row · 4 columns
TAG_NAMETAG_VALUELEVELCOLUMN_NAME
SENSITIVITY_T167RESTRICTEDTABLENULL
Query
SELECT COUNT(*) AS LABELS_VISIBLE_TO_THAT_ROLE
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.CUSTOMERS_T167', 'TABLE'));
Result1 row · 1 column
LABELS_VISIBLE_TO_THAT_ROLE
1

Yes. And it can list the tags themselves, with their allowed values and comments.

Query
SHOW TAGS IN SCHEMA DEMO_DB.TAGS_T167;
Result2 rows · 11 columns · scroll →
created_onnamedatabase_nameschema_nameownercommentallowed_valuesowner_role_typepropagateon_conflictmulti_value
2026-10-07 12:39:47.342000-07:00DUPES_T167DEMO_DBTAGS_T167ACCOUNTADMIN["A","B"]ROLENONENULLfalse
2026-10-07 12:39:23.963000-07:00SENSITIVITY_T167DEMO_DBTAGS_T167ACCOUNTADMINepisode 167 - three allowed values, and I am about to test that["PUBLIC","INTERNAL","RESTRICTED"]ROLENONENULLfalse
A label is not a secret

So a label is metadata. Anyone who can see the object can read what you wrote on it. Do not put anything in a tag value or a tag comment that you would not want every reader of that table to see.

Query
USE ROLE ACCOUNTADMIN;
Result1 row · 1 column
status
Statement executed successfully.
Query
SELECT CURRENT_ROLE() AS THE_ROLE, CURRENT_SECONDARY_ROLES() AS THE_SECONDARY_ROLES;
Result1 row · 2 columns
THE_ROLETHE_SECONDARY_ROLES
ACCOUNTADMIN{"roles":"","value":""}

One last thing: let's take the labels off again

Let's unset what is left and check the table is clean.

Query
ALTER TABLE DEMO_DB.TAGS_T167.CUSTOMERS_T167
  MODIFY COLUMN CARD_LAST4 UNSET TAG DEMO_DB.TAGS_T167.SENSITIVITY_T167;
Result1 row · 1 column
status
Statement executed successfully.
Query
ALTER TABLE DEMO_DB.TAGS_T167.CUSTOMERS_T167
  UNSET TAG DEMO_DB.TAGS_T167.SENSITIVITY_T167;
Result1 row · 1 column
status
Statement executed successfully.
Query
SELECT COUNT(*) AS REFERENCES_LEFT
  FROM TABLE(DEMO_DB.INFORMATION_SCHEMA.TAG_REFERENCES(
         'DEMO_DB.TAGS_T167.CUSTOMERS_T167', 'TABLE'));
Result1 row · 1 column
REFERENCES_LEFT
0

Nothing left on it. And here is the account at the end, after our tags, the view, the tables, the role and the schema have gone.

Query
SHOW TAGS IN ACCOUNT;
Result12 rows · 11 columns · scroll →
The same twelve rows this post opened with — scroll right
created_onnamedatabase_nameschema_nameownercommentallowed_valuesowner_role_typepropagateon_conflictmulti_value
2026-05-13 11:59:18.583000-07:00PRODUCT_CATEGORYSNOWFLAKEALERTProduct category for an alert (mirrors the alert template product taxonomy: OPENFLOW, DATA_QUALITY, TASKS, DYNAMIC_TABLES, SNOWPIPE, SNOWPIPE_STREAMING, ICEBERG, SNOWPARK, FUNCTIONS, CORTEX_SEARCH, CORTEX_ANALYST, CORTEX_AGENT, WAREHOUSE, BILLING, CORTEX, STORAGE, DATA_TRANSFER, SECURITY, REPLICATION)["OPENFLOW","DATA_QUALITY","TASKS","DYNAMIC_TABLES","SNOWPIPE","SNOWPIPE_STREAMING","ICEBERG","SNOWPARK","FUNCTIONS","CORTEX_SEARCH","CORTEX_ANALYST","CORTEX_AGENT","WAREHOUSE","BILLING","CORTEX","STORAGE","DATA_TRANSFER","SECURITY","REPLICATION"]NONENULLfalse
2026-05-13 11:59:18.447000-07:00SUBCATEGORYSNOWFLAKEALERTSubcategory for an alert (mirrors the alert template subcategory taxonomy: GENERAL_CONNECTORS, GENERAL_RUNTIME, GENERAL_RUNTIME_GEN2, CHANGE_DATA_CAPTURE, CHANGE_DATA_CAPTURE_GEN2, GENERAL_CONNECTORS_GEN2, REFRESH_STATUS)["GENERAL_CONNECTORS","GENERAL_RUNTIME","GENERAL_RUNTIME_GEN2","CHANGE_DATA_CAPTURE","CHANGE_DATA_CAPTURE_GEN2","GENERAL_CONNECTORS_GEN2","REFRESH_STATUS"]NONENULLfalse
2026-03-24 01:58:08.912000-07:00CERTIFICATION_STATUSSNOWFLAKECOREIndicates the current validation and readiness level of the data for production use.["DRAFT","TO BE REVIEWED","IN REVIEW","CERTIFIED","REJECTED","DEPRECATED"]NONENULLfalse
2021-05-13 18:25:14.246000-07:00PRIVACY_CATEGORYSNOWFLAKECOREPrivacy category of a column: sensitive, quasi_identifier, or identifier["IDENTIFIER","INSENSITIVE","QUASI_IDENTIFIER","SENSITIVE"]NONENULLfalse
2021-05-13 18:29:14.071000-07:00SEMANTIC_CATEGORYSNOWFLAKECOREDescribes the category of data in a columnNULLNONENULLfalse
2025-06-24 02:09:44.747000-07:00SKIP_SENSITIVE_DATA_CLASSIFICATIONSNOWFLAKECOREWhether or not to exclude the object from sensitive data classification.["TRUE","FALSE"]NONENULLfalse
2026-09-21 18:34:22.684000-07:00CERTIFICATION_STATUSSNOWFLAKETAGSSNOWFLAKEIndicates the current validation and readiness level of the data for production use.["DRAFT","TO BE REVIEWED","IN REVIEW","CERTIFIED","REJECTED","DEPRECATED"]APPLICATIONNONENULLfalse
2026-09-21 18:34:22.572000-07:00COST_CENTERSNOWFLAKETAGSSNOWFLAKEAssociates data with a cost center for cost allocation and management.NULLAPPLICATIONNONENULLfalse
2026-09-21 18:34:23.614000-07:00ENVIRONMENTSNOWFLAKETAGSSNOWFLAKEIdentifies the deployment environment an object belongs to (production, staging, test, or development).["PRODUCTION","STAGING","TEST","DEVELOPMENT"]APPLICATIONNONENULLfalse
2026-09-21 18:34:23.751000-07:00PROJECTSNOWFLAKETAGSSNOWFLAKEAssociates an object with a project for organization and cost tracking.NULLAPPLICATIONNONENULLfalse
2026-09-21 18:34:23.882000-07:00SENSITIVITYSNOWFLAKETAGSSNOWFLAKEClassifies the sensitivity level of data on an object or column. Allowed values are ordered from most to least sensitive. If you are on Enterprise Edition or higher, a role with APPLY TAG ON ACCOUNT can enable automatic propagation by running ALTER TAG SNOWFLAKE.TAGS.SENSITIVITY SET PROPAGATE = ON_DEPENDENCY_AND_DATA_MOVEMENT ON_CONFLICT = ALLOWED_VALUES_SEQUENCE, which makes the most sensitive value win on conflict.["RESTRICTED","CONFIDENTIAL","INTERNAL","PUBLIC"]APPLICATIONNONENULLfalse
2026-09-21 18:34:26.814000-07:00SKIP_TAG_PROPAGATIONSNOWFLAKETAGSSNOWFLAKEApply to a column or table to exclude it from tag propagation cascades.NULLAPPLICATIONNONENULLfalse
Query
SELECT COUNT(*) AS MY_TAGS_LEFT
  FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()))
 WHERE "name" LIKE '%\\_T167' ESCAPE '\\';
Result1 row · 1 column
MY_TAGS_LEFT
0
Query
SELECT COUNT(*) AS MY_ROLES_LEFT
  FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()));
Result1 row · 1 column
MY_ROLES_LEFT
0

Nothing of ours left behind, and the built-in tags are exactly as we found them. They were read on this page and never written to.

Query
SELECT CURRENT_ROLE() AS THE_ROLE, CURRENT_SECONDARY_ROLES() AS THE_SECONDARY_ROLES;
Result1 row · 2 columns
THE_ROLETHE_SECONDARY_ROLES
ACCOUNTADMIN{"roles":"ORGADMIN","value":"ALL"}

Key points

  • A tag is a named object. You put it on something with ALTER ... SET TAG and take it off with UNSET TAG.
  • Twelve tags already exist on an account where nothing has been created, all of them in the SNOWFLAKE database, SENSITIVITY among them. Look before you create one.
  • A tag either takes any value, or it has an ALLOWED_VALUES list. A value off the list is 391826, and the previous value survives.
  • The list is checked when you write a value and never again. Remove a value that is in use and the object keeps it.
  • TAG_REFERENCES is where you look. On a column it returns the column's own tag and the table's, and the LEVEL column says which is which.
  • A table's own tag hides the schema's. Unset the table's and the schema's value appears in the same grid.
  • DESCRIBE TABLE says nothing about tags at all.
  • TAG_REFERENCES wants TABLE for a view too. VIEW is 391806.
  • DROP TAG on a tag that objects are using just works, and every reference goes with it. Both policy kinds refuse the same thing.
  • Duplicate allowed values are silently de-duplicated, and a role with only USAGE and SELECT can read every label on an object it can see.
Next in this series

In the next post we look at secure data sharing: CREATE SHARE, granting objects into one, and the one sharing statement that is deliberately not in the demo file.

Every query and every result grid on this page was captured from a live Snowflake account (version 10.36.101) running the demo script for this episode. USE SECONDARY ROLES NONE was set and proved off before anything was created and again inside the role excursion. The twelve built-in tags are read and never written, and SHOW TAGS IN ACCOUNT closes on the same rows it opened on. Every customer is invented. The grant that names a user is written here with a stand-in name. Everything created here was dropped here. Nothing is timed and no performance claims are made anywhere in this series. Behaviour follows the Snowflake CREATE TAG documentation.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.