Skip to main content

Variable

This page provides a comprehensive overview of Variable operations in Databend, organized by functionality for easy reference.

Variable Management

CommandDescription
SETCreates or modifies a session or user variable
UNSETRemoves a user-defined variable

Variable Information

CommandDescription
SHOW VARIABLESDisplays current values of system and user variables
note

Variables in Databend allow you to store and reuse values within a session or across sessions, making scripts more dynamic and reusable.

Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today