.alter table docstring 命令

使用 “版本 ”下拉列表切换服务。 了解有关导航的详细信息
适用于:✅ Azure Data Explorer

更改现有表的 docstring 值。

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

注意

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

权限

必须至少具有 Table Admin 权限才能运行此命令。

语法

.alter table TableName Documentationdocstring

详细了解语法约定

参数

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

示例

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