---
title: "INITCAP"
description: "INITCAP SQL\u95A2\u6570\u306F\u3001\u5404\u5358\u8A9E\u306E\u5148\u982D\u6587\u5B57\u3092\u5927\u6587\u5B57\u306B\u3001\u305D\u308C\u4EE5\u5916\u306E\u6587\u5B57\u3092\u3059\u3079\u3066\u5C0F\u6587\u5B57\u306B\u5909\u66F4\u3057\u307E\u3059\u3002"
language: ja
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/ja/docs/invantive-universalsql/grammar/sql-functions/initcap
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/initcap
updated: 2026-12-04T13:44:21Z
license: https://documentation.invantive.eu/ja/
---

## 構文
```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    Start((START)) --> INITCAP[INITCAP]:::quoted
    INITCAP --> End((END))
```

## 目的
`INITCAP` SQL関数は、各単語の先頭文字を大文字に、それ以外の文字をすべて小文字に変更します。

パラメータ:
- 入力 (`varchar2`): 処理するテキスト。

戻り値: 各単語の先頭文字を大文字にした入力値（`varchar2`）。

## 例
次の例は `aap noot mies` の大文字・小文字を変更します:
```sql
select initcap('aap noot mies')

----------------
Aap Noot Mies
```
次の例は `JOHN DOE` の大文字・小文字を変更します:
```sql
select initcap('JOHN DOE')

----------------
John Doe
```
次の例は `'s-Hertogenbosch` の大文字・小文字を変更します:
```sql
select initcap('''s-Hertogenbosch')

----------------
'S-Hertogenbosch
```

