---
title: "INITCAP"
description: "The INITCAP SQL function changes the first character of each word in uppercase, all other characters in lowercase."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/initcap
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/initcap
updated: 2026-08-09T00:00:00Z
license: https://documentation.invantive.eu/en/
---

## Syntax
```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))
```

## Purpose
The `INITCAP` SQL function changes the first character of each word in uppercase, all other characters in lowercase.

Parameters:
- Input (`varchar2`): Text to process.

Returns: the input with the first letter of each word in uppercase as `varchar2`.

## Examples
The following example changes the capitalisation of `aap noot mies`:
```sql
select initcap('aap noot mies')

----------------
Aap Noot Mies
```
The following example changes the capitalisation of `JOHN DOE`:
```sql
select initcap('JOHN DOE')

----------------
John Doe
```
The following example changes the capitalisation of `'s-Hertogenbosch`:
```sql
select initcap('''s-Hertogenbosch')

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