你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
.alter table column-docstrings command
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer
Sets the DocString
property of one or more columns of the specified table. Columns not explicitly set will have this property removed.
Permissions
You must have at least Table Admin permissions to run this command.
Syntax
.alter
table
TableName column-docstrings
(
Col1 :
DocString1 [,
Col2 :
DocString2]... )
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
DocString | string |
✔️ | Free text that you can attach to a table/function/column to describe the entity. This string is presented in various UX settings next to the entity names. |
TableName | string |
✔️ | The name of the table on which the operation is performed. |
Col | string |
✔️ | The column on which the operation is performed. |
Example
.alter table Table1 column-docstrings (Column1:"DocString1", Column2:"DocString2")