📜  oracle 拆分字符串 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:25.305000             🧑  作者: Mango

代码示例1
-- 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;