You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Documentation for ALTER TABLE ... MODIFY COMMENT'
3
-
sidebar_label: 'COMMENT'
2
+
description: 'Documentation for ALTER TABLE ... MODIFY COMMENT which allow
3
+
adding, modifying, or removing table comments'
4
+
sidebar_label: 'ALTER TABLE ... MODIFY COMMENT'
4
5
sidebar_position: 51
5
6
slug: /sql-reference/statements/alter/comment
6
7
title: 'ALTER TABLE ... MODIFY COMMENT'
8
+
keywords: ['ALTER TABLE', 'MODIFY COMMENT']
7
9
---
8
10
9
11
# ALTER TABLE ... MODIFY COMMENT
10
12
11
-
Adds, modifies, or removes comment to the table, regardless if it was set before or not. Comment change is reflected in both [system.tables](../../../operations/system-tables/tables.md) and `SHOW CREATE TABLE` query.
13
+
Adds, modifies, or removes a table comment, regardless of whether it was set
14
+
before or not. The comment change is reflected in both [`system.tables`](../../../operations/system-tables/tables.md)
Adds, modifies, or removes comment to the database, regardless of whether it was set before. Comment change is reflected in both [system.databases](/operations/system-tables/databases.md) and `SHOW CREATE DATABASE` query.
13
+
Adds, modifies, or removes a database comment, regardless of whether it was set
14
+
before or not. The comment change is reflected in both [`system.databases`](/operations/system-tables/databases.md)
0 commit comments