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