Oracle RTRIM函数
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle RTRIM函数相关的知识,希望对你有一定的参考价值。
A few examples of the Oracle RTRIM function.
SELECT RTRIM('Complete IT Professional ') AS RTRIM_EXAMPLE FROM DUAL; SELECT RTRIM('Complete IT Professional___', '_') AS RTRIM_EXAMPLE FROM DUAL; SELECT RTRIM('Complete IT Professional; ; ; ; ; ', ' ; ') AS RTRIM_EXAMPLE FROM DUAL; SELECT country, RTRIM(country, 'A') AS RTRIM_EXAMPLE FROM customers; SELECT full_address, RTRIM(full_address, 'et') AS RTRIM_EXAMPLE FROM customers; SELECT RTRIM('Complete IT Professional00', 0) AS RTRIM_EXAMPLE FROM DUAL; SELECT LTRIM(RTRIM('___Complete IT Professional__', '_'), '_') AS RTRIM_EXAMPLE FROM DUAL; SELECT RTRIM('Complete IT Professionalé', 'é') AS RTRIM_EXAMPLE FROM DUAL;
以上是关于Oracle RTRIM函数的主要内容,如果未能解决你的问题,请参考以下文章