📅  最后修改于: 2022-03-11 15:05:25.305000             🧑  作者: Mango
-- Splits a comma separated string into rows
SELECT regexp_substr('SARAH,JOE,PIMPO,LOUIS', '[^,]+', 1, LEVEL)
FROM DUAL
CONNECT BY regexp_substr('SARAH,JOE,PIMPO,LOUIS', '[^,]+', 1, LEVEL) IS NOT NULL;