How to use Oracle LOWER () and UPPER () Functions
The Rows returned in one column are case insensitive.
This is a common practice to make columns case-insensitive to ensure that you want to return all rows.
SELECT *
FROM COURSES
Where lower (education_delivery_method) = 'classroom'
You can use Oracle's UPPER () or LOWER () function to select a format column in your SQL
SELECT
UPPER (FIRSTNAME) AS "FIRSTNAME ",
LASTNAME
FROM STUDENTS
WHERE RowNum <11
Use the up/down function for the format Column
It can use the Oracle UPPER () or LOWER () function with string () to complete different types of formats.
SELECT
UPPER (SUBSTR (LASTNAME, 1, 1) | LOWER (SUBSTR (LASTNAME, 2, 29 ))
FROM STUDENTS
WHERE RowNum <11
Update the changes of a group of rows
It can be used together with the UPPER () or LOWER () function of an update statement Oracle to change a group of rows in the case.
UPDATE STUDENTS
Set lastname = UPPER (LASTNAME)
Where lastname = 'Jones'
/
Commit work;