Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MonetDB 是否通过对某些系统表的 SQL 查询使当前数据库名称(即不是 DBMS 主机名,而是您连接到的数据库或表集)可用?
是的,生成表的 env() 函数也有 db 名称,在我的例子中是“acs”。
sql>select value from env() where name='gdk_dbname'; +-------+ | value | +=======+ | acs | +-------+