跳到主要内容

CURRENT_CATALOG

Introduced or updated: v1.2.668

Returns the name of the catalog currently in use for the session.

Syntax

CURRENT_CATALOG()

Examples

SELECT CURRENT_CATALOG();

┌───────────────────┐
│ current_catalog()
├───────────────────┤
default
└───────────────────┘
开始使用 Databend Cloud
低成本
快速分析
多种数据源
弹性扩展
注册