Oracle SQL, PLSQL, APEX How To's by Dr. S. Raghunathan - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

 

 

11.18   How to use RTRIM( )

function

 

When we need to remove right most unwanted or to be eliminated characters on the column we need to use the following syntax:

Syntax:  select rtrim (', aaa, bbb,',',') as result from dual;

 

Result:

 

Result

 

- - - - -

 

,aaa,bbb

 

 

11.19   How to use TRIM( )

function

 

When we need to remove both sides right and left most unwanted or to be eliminated characters on the column we need to use the following syntax:

Syntax:   select trim(',' from ',aaa,bbb,') as result from dual;

Result :

 

Result

 

- - - - -

 

Find Your Next Great Read

Describe what you're looking for in as much detail as you'd like.
Our AI reads your request and finds the best matching books for you.

Showing results for ""

Popular searches:

Romance Mystery & Thriller Self-Help Sci-Fi Business