CURRENT_CATALOG
描述
获取当前 sql 客户端的连接的 catalog。
语法
CURRENT_CATALOG()
返回值
当前 sql 客户端的连接的 catalog 名称。
举例
select current_catalog();
+-------------------+
| current_catalog() |
+-------------------+
| internal |
+-------------------+
获取当前 sql 客户端的连接的 catalog。
CURRENT_CATALOG()
当前 sql 客户端的连接的 catalog 名称。
select current_catalog();
+-------------------+
| current_catalog() |
+-------------------+
| internal |
+-------------------+