Context Functions
This page provides reference information for the context-related functions in Databend. These functions return information about the current session, database, or system context.
Session Information Functions
Database Context Functions
| Function | Description | Example |
|---|---|---|
| CURRENT_CATALOG | Returns the name of the current catalog | CURRENT_CATALOG() → 'default' |
| DATABASE | Returns the name of the current database | DATABASE() → 'default' |
