SELECT UPPER('you are a prediction of the good ones') AS [UPPER]
Output:
+-------------------------------------+
|UPPER |
+-------------------------------------+
|YOU ARE A PREDICTION OF THE GOOD ONES|
+-------------------------------------+
Code:
OUT -> SqlServer_01.sql
SELECT
UPPER('you are a prediction of the good ones') AS UPPER;
Output:
+-------------------------------------+
|UPPER |
+-------------------------------------+
|YOU ARE A PREDICTION OF THE GOOD ONES|
+-------------------------------------+
Code:
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;
Output:
UPPER |
-------------------------------------+
YOU ARE A PREDICTION OF THE GOOD ONES|