with t as (select '/ho;ih;o;gfA/B12/54D/Gfgh' tt from dual)
select level rn,regexp_substr(tt, '[^/]+', 1, level)
from t
connect by regexp_instr(tt, '[^/]+', 1, level) > 0
ho;ih;o;gfA
B12
54D
Gfgh
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/25323853/viewspace-689935/
,如需转载,请注明出处,否则将追究法律责任。