.alter table docstring 命令

更改现有表的 docstring 值。

docstring 是可以附加到描述实体的表/函数/列的自由文本。 此字符串显示在实体名称旁边的各种 UX 设置中。

注意

如果该表不存在,则返回错误。 若要创建新表,请参阅 .create table

权限

你必须至少具有表管理员权限才能运行此命令。

语法

.altertableTableNamedocstringDocumentation

详细了解语法约定

参数

客户 类型​​ 必需 说明
TableName string 要更改的表的名称。
文档 string 用于描述表的自由文本。

示例

.alter table LyricsAsTable docstring "This is the theme to Garry's show"