I am trying to split a string and add each word to a separate rows.
with data as (
  select 100 as id, 'python java' as src from dual
)
 select id, level as lvl,
        regexp_substr( src || '" "' , '([[:space:]0-9/:])', 1, level, null, 1 ) as token
   from data
connect by level <= regexp_count( src || '" "' , '([[:space:]0-9/:])' )
       and prior id = id
       and prior sys_guid() is not null
;
I am expecting python and java in a separate rows.
 
     
    