Skip to main content

Tag

Tags let you attach key-value metadata to Databend objects for data governance, classification, and compliance tracking. You can define tags with optional allowed values, assign them to objects, and query tag assignments through the TAG_REFERENCES table function.

Tag Management

CommandDescription
CREATE TAGCreates a new tag with optional allowed values and comment
DROP TAGRemoves a tag (must have no active references)
SHOW TAGSLists tag definitions

Tag Assignment

CommandDescription
SET TAG / UNSET TAGAssigns or removes tags on database objects
TAG_REFERENCESQueries tag assignments on a specific object
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today