CURRENT_CATALOG
更新时间:2025-10-16
描述
获取当前 sql 客户端的连接的 catalog。
语法
SQL
1CURRENT_CATALOG()
返回值
当前 sql 客户端的连接的 catalog 名称。
举例
SQL
1select current_catalog();
Text
1+-------------------+
2| current_catalog() |
3+-------------------+
4| internal |
5+-------------------+
评价此篇文章
