## 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 capitalization of `aap noot mies`:
```sql
select initcap('aap noot mies')
----------------
Aap Noot Mies
```
The following example changes the capitalization of `JOHN DOE`:
```sql
select initcap('JOHN DOE')
----------------
John Doe
```
The following example changes the capitalization of `'s-Hertogenbosch`:
```sql
select initcap('''s-Hertogenbosch')
----------------
'S-Hertogenbosch
```