Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ClickHouse launches Claude-powered Agents and House Mates partner program at Open House 2026 Read more →
关于 ALTER DATABASE … MODIFY COMMENT 语句的文档, 该语句可用于添加、修改或删除数据库注释。
system.databases
SHOW CREATE DATABASE
ALTER DATABASE [db].name [ON CLUSTER cluster] MODIFY COMMENT 'Comment'
DATABASE
CREATE DATABASE database_with_comment ENGINE = Memory COMMENT 'The temporary database';
ALTER DATABASE database_with_comment MODIFY COMMENT 'new comment on a database';
SELECT comment FROM system.databases WHERE name = 'database_with_comment';
┌─comment─────────────────┐ │ new comment on database │ └─────────────────────────┘
ALTER DATABASE database_with_comment MODIFY COMMENT '';
┌─comment─┐ │ │ └─────────┘
COMMENT
ALTER TABLE ... MODIFY COMMENT
此页面对您有帮助吗?