Jump to: navigation, search

Mysql UPPER

From w3cyberlearnings

Contents

MySQL UPPER Function

This function returns a given string to all uppercase.

Syntax UPPER

  • Str: a given string
UPPER(Str);

Example 1

mysql> SELECT UPPER('Hello');
+----------------+
| UPPER('Hello') |
+----------------+
| HELLO          |
+----------------+
1 row in set (0.00 sec)

Example 2

mysql> SELECT UPPER('goes');
+---------------+
| UPPER('goes') |
+---------------+
| GOES          |
+---------------+
1 row in set (0.00 sec)

Related Links


Navigation
Web
SQL
MISC
References