问答详情
源自:-

rtim右去除

select rtrim('ligaoyuanlishunxing','lishunxing') from dual;

为啥结果是ligaoyua



提问者:森屿者 2016-03-09 08:16

个回答

  • SeeMyCode
    2016-05-11 22:28:41

    rtrim(c1,c2)--从c1中去除c2(只去除尾部开始第一个字符c2)
    如:select rtrim('ababa','a') from dual;结果:abab