UPPER
Description
Sample Source Pattern
Syntax
UPPER( string_expression ) UPPER( <expr> )String.toUpperCase( )Examples
SELECT UPPER('you are a prediction of the good ones') AS [UPPER]+-------------------------------------+
|UPPER |
+-------------------------------------+
|YOU ARE A PREDICTION OF THE GOOD ONES|
+-------------------------------------+SELECT
UPPER('you are a prediction of the good ones') AS UPPER;+-------------------------------------+
|UPPER |
+-------------------------------------+
|YOU ARE A PREDICTION OF THE GOOD ONES|
+-------------------------------------+CREATE OR REPLACE FUNCTION to_upper(str varchar)
RETURNS string
LANGUAGE JAVASCRIPT
AS
$$
return STR.toUpperCase();
$$;
SELECT TO_UPPER('you are a prediction of the good ones') UPPER;UPPER |
-------------------------------------+
YOU ARE A PREDICTION OF THE GOOD ONES|Last updated