Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

oracle split string

-- 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;
Source by blogs.oracle.com #
 
PREVIOUS NEXT
Tagged: #oracle #split #string
ADD COMMENT
Topic
Name
7+7 =