---
title: "\u51FA\u529B\u5217\u306E\u5B9A\u7FA9"
description: "\u30C6\u30AD\u30B9\u30C8\u30E2\u30FC\u30C9\u3067\u306F\u3001\u5217\u5F62\u5F0F\u306E\u30EC\u30A4\u30A2\u30A6\u30C8\u3092\u4F7F\u7528\u3057\u3066\u51FA\u529B\u3092\u5370\u5237\u3067\u304D\u307E\u3059\u3002"
language: ja
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/ja/docs/invantive-script/statements/define-output-column
original: https://documentation.invantive.eu/en/docs/invantive-script/statements/define-output-column
updated: 2026-12-04T08:46:13Z
license: https://documentation.invantive.eu/ja/
---

# 構文
テキストモードでは、列形式のレイアウトを使用して出力を印刷できます。 column文を使用すると、次の構文でレイアウトを設定できます:
```
local column NAME heading "HEADING" (width WIDTH)
```
見出しは列の内容の上に印刷され、文字単位の幅で列の幅を制御できます。

次を使用すると、列のレイアウトを未定義にできます:
```
local column NAME clear
```
出力列の定義は、[[Invantive Data Hub]]が提供するテキストモードでのみ関係します。 非テキストモードでも列レイアウトを定義できますが、出力には影響しません。

# 例
次の例では、最初の名前列を5文字、2番目の列を30文字とし、カスタム見出しを付けます:
```
local column FIRST_NAME heading "First Name" width 5

local column LAST_NAME heading "Last Name" width 30

select 'John' FIRST_NAME
,      'Doe'  LAST_NAME
```
