How to remove characters from the right side of a text expression in Oracle

In Oracle RTRIM function removes all the rightmost characters matching string from Characters. The syntax for the RTRIM function is: RTRIM(character,Removing String)
For Example:

SELECT RTRIM('FOREST','EST') FROM DUAL;

Result: FOR


Comments

Popular posts from this blog

What is Oracle Integration Cloud Service - ICS?

How to Create Packages in Oracle Database using TOAD for Oracle

How to create a Simple Scheduler Job in Oracle Database using Toad