---
title: "UPPER"
description: "The UPPER SQL function changes all characters in provided text to uppercase."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/upper
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/upper
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)) --> UPPER[UPPER]:::quoted
    UPPER --> End((END))
```

## Purpose
The `UPPER` SQL function changes all characters in provided text to uppercase.

Parameters:
- Input (`varchar2`): the text that will be converted to uppercase.

Returns: text converted to uppercase as `varchar2`.

## Examples
The following example upper cases `aap noot mies`:
```sql
select upper('aap noot mies')

----------------
AAP NOOT MIES
```
The following example upper cases `JOHN DOE`:
```sql
select upper('JOHN DOE')

----------------
JOHN DOE
```
The following example upper cases`'s-Hertogenbosch`:
```sql
select upper('''s-Hertogenbosch')

----------------
'S-HERTOGENBOSCH
```