> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# ucase

> 将字符串转换为大写形式；upper 函数的别名。

该函数与 `upper` 一致，将字符串转换为大写形式。

## 语法

```Haskell theme={null}
ucase(str)
```

## 参数说明

`str`: 支持的数据类型为 VARCHAR。

## 返回值说明

返回值的数据类型为 VARCHAR。

## 示例

```Plain Text theme={null}
mysql> SELECT ucase("AbC123");
+-----------------+
|ucase('AbC123')  |
+-----------------+
|ABC123           |
+-----------------+
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.