I don't fully understand the purpose of using query tags in Snowflake. I have started to incorporate them in some routine queries that run so I can see what the report name is in the Query Monitor.
Are there other use cases for this in SQL?
I don't fully understand the purpose of using query tags in Snowflake. I have started to incorporate them in some routine queries that run so I can see what the report name is in the Query Monitor.
Are there other use cases for this in SQL?
Share Improve this question asked Mar 3 at 19:26 Amber BenbowAmber Benbow 1 1- Best Practices for Using QUERY_TAG in Snowflake - Why Use QUERY_TAG? – Lukasz Szozda Commented Mar 3 at 19:34
1 Answer
Reset to default 0Query tags are Snowflake parameters that can be configured at the account, user, or session level in Snowflake.
This allows users to label their workloads. You can use them for categorizing and aggregating queries for monitoring and optimization purposes.
You can use the query_tags for tracking and analytics. They make tracking and monitoring queries for compliance and auditing purposes easy and quick.
There are also many more advantages of query tags.