SQL Select everything after character

前端 未结 6 718
半阙折子戏
半阙折子戏 2021-02-07 07:18

I\'d like to select everything AFTER a certain character (-) that is placed on the most right side.

Eg.

abcd-efgh-XXXX

And I\'d like t

6条回答
  •  南方客
    南方客 (楼主)
    2021-02-07 07:31

    select substr('Prueba,Prueba2',instr('Prueba,Prueba2',',') + 1) from dual
    

提交回复
热议问题