Sunday, 17 September 2017

Upper Function

This function converts all characters into upper case.
The return value has the same data type as argument CHAR or VARCHAR2 type
Syntax: UPPER(column/expression)
Example:

Use of UPPER Function
SELECT 'oracle' AS String, UPPER ('oracle') AS UPPER FROM DUAL;
SELECT Ename||' is Designated As '||LOWER(Job) FROM EMP WHERE Job = 'MANAGER';
SELECT Ename||' is Designated As '||LOWER(Job) Ename FROM Emp WHERE Job = UPPER('manager');



No comments:

Post a Comment