# Comment field

데이터베이스와 스프레드시트의 필드 주석(메타데이터)을 표시하는 방법을 제공합니다. 문서에 없는 필드 이름은 무시됩니다. 필드 이름이 여러 번 발견되는 경우 마지막 값이 사용됩니다.

구문:

comment [fields] \*fieldlist using mapname

comment [field] fieldname with comment

맵 테이블에는 두 개의 열이 있어야 하며, 첫째 열은 필드 이름을, 둘째 열은 주석을 포함해야 합니다.

인수:

Comment 필드 인수

| 인수 | 설명 |
| --- | --- |
| \*fieldlist | 주석을 추가할 필드의 쉼표로 구분된 목록입니다. 필드 목록에 \*를 사용하면 모든 필드를 지정할 수 있습니다. 필드 이름에는 와일드카드 문자 \* 및 ?가 허용됩니다. 와일드카드를 사용할 경우 필드 이름을 따옴표로 묶어야 합니다. |
| mapname | 이전에 mapping LOAD 또는 mapping SELECT 문으로 읽은 매핑 테이블의 이름입니다. |
| fieldname | 주석을 추가할 필드의 이름입니다. |
| comment | 필드에 추가할 주석입니다. |

예 1:

`commentmap:` `mapping LOAD * inline [` `a,b` `Alpha,This field contains text values` `Num,This field contains numeric values` `];` `comment fields using commentmap;`

예 2:

`comment field Alpha with AFieldContainingCharacters;` `comment field Num with '*A field containing numbers';` `comment Gamma with 'Mickey Mouse field';`

## 자세한 정보

* [Mapping](https://help.qlik.com/ko-KR/qlikview/May2024/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptPrefixes/Mapping.htm)
* [Field/Fields](https://help.qlik.com/ko-KR/qlikview/May2024/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Field.htm)