# Comment table

データベースやスプレッドシートのテーブルのコメント (メタデータ) を表示する方法を提供します。

アプリに存在しないテーブル名は無視されます。テーブル名が何度も発生する場合は、最後の値が使用されます。データ ソースからコメントを読み取るには、キーワードを使用します。

構文:

comment [tables] tablelist using mapname

comment [table] tablename with comment

引数：

引数

| 引数 | 説明 |
| --- | --- |
| tablelist | (table{,table}) |
| mapname | マッピング LOAD またはマッピング SELECT ステートメントで、以前読み取られたマッピング テーブルの名前。 |
| tablename | コメントするテーブルの名前。 |
| comment | テーブルに追加するコメント。 |

例1：

`Commentmap:` `mapping LOAD  * inline [` `a,b` `Main,This is the fact table` `Currencies, Currency helper table` `];` `comment tables using Commentmap;`

例2：

`comment table Main with 'Main fact table';`

## 詳細を見る

* [Comment field](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/comment.htm)
* [Table/Tables](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/Table.htm)