Documentation

    upper

    Standardize text in uppercase before comparing labels or displaying codes.

    Also available as ucase.

    Try an expression

    In Formula, enter the expression and set Output type to VARCHAR.

    Example input

    1. Row 1name = 'Ada'
    2. Row 2name = 'Lin'
    3. Row 3name = NULL

    Expression

    upper(name)

    Result

    Row 1: 'ADA'
    Row 2: 'LIN'
    Row 3: NULL

    NULL means the value is missing.

    Arguments and types

    upper(string)
    string
    Text
    Supported signatures (1)
    upper(string: VARCHAR) → VARCHAR

    The result type can depend on the input types. See DuckDB for the full argument rules.

    Things to know

    If the first argument is missing, the result is NULL.

    Browse textDuckDB documentation

    Function metadata from DuckDB, used under the MIT license.