Have a csv string with values "A1;B2;C3" and need get the values for separate and then insert the values in a table how separate this string? Edit: i Use this
SELECT TRIM(SUBSTR(txt , INSTR (txt, ';', 1, level ) + 1,
INSTR (txt, ';', 1, level+1) - INSTR (txt, ';', 1, level) -1
)
)
AS TOKEN
FROM ( SELECT ';'||'8;9;7;6'||';' AS txt FROM dual )
CONNECT BY level <= LENGTH(txt)-LENGTH(REPLACE(txt,';',''))-1
and get the values for separate but, need asign this values in variables