select rtrim('helloworld','world') hello from dual;
这个语句的查询结果是什么?你肯定想象不到。
SQL> select rtrim('helloworld','world') hello from dual;
HELLO
-----
he
SQL>
大家帮忙试试,是不是只有我的机器是这个样子,还是有其他的解释?
select rtrim('helloworld','world') hello from dual;
SQL> select rtrim('helloworld','world') hello from dual;
HELLO
-----
he
SQL>