.alter table column-docstrings 命令
设置指定表的一个或多个列的 DocString
属性。 未显式设置的列将删除此属性。
权限
你必须至少具有表管理员权限才能运行此命令。
语法
.alter
table
TableNamecolumn-docstrings
(
Col1:
DocString1 [,
Col2:
DocString2]... )
详细了解语法约定。
参数
客户 | 类型 | 必需 | 说明 |
---|---|---|---|
DocString | string |
✔ | 可以附加到表/函数/列的自由文本,用于描述实体。 此字符串显示在实体名称旁边的各种 UX 设置中。 |
TableName | string |
✔ | 对其执行操作的表的名称。 |
Col | string |
✔ | 对其执行操作的列。 |
示例
.alter table Table1 column-docstrings (Column1:"DocString1", Column2:"DocString2")