Oracle LTRIM函数

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle LTRIM函数相关的知识,希望对你有一定的参考价值。

A few examples of the Oracle LTRIM function.
  1. SELECT LTRIM(' Complete IT Professional') AS LTRIM_EXAMPLE FROM DUAL;
  2.  
  3. SELECT LTRIM('___Complete IT Professional', '_') AS LTRIM_EXAMPLE FROM DUAL;
  4.  
  5. SELECT LTRIM('; ; ; ; ; Complete IT Professional', ' ; ') AS LTRIM_EXAMPLE FROM DUAL;
  6.  
  7. SELECT country, LTRIM(country, 'U') AS LTRIM_EXAMPLE FROM customers;
  8.  
  9. SELECT full_address, LTRIM(full_address, '1') AS LTRIM_EXAMPLE FROM customers;
  10.  
  11. SELECT LTRIM('000Complete IT Professional', 0) AS LTRIM_EXAMPLE FROM DUAL;
  12.  
  13. SELECT LTRIM(RTRIM('___Complete IT Professional__', '_'), '_') AS LTRIM_EXAMPLE FROM DUAL;
  14.  
  15. SELECT LTRIM('ééComplete IT Professional', 'é') AS LTRIM_EXAMPLE FROM DUAL;

以上是关于Oracle LTRIM函数的主要内容,如果未能解决你的问题,请参考以下文章

Oracle LTRIM函数

oracle中trim,ltrim,rtrim函数用法

oracle函数 LTRIM(c1,[,c2])

mysql 函数中与Oracle中ltrim函数功能相同的函数是啥函数?

Oracle:trim,ltrim,rtrim

mysql 强大的trim() 函数