How with the oracle, into a plurality of columns

select regexp_substr('1,2,3' , '[^,]+' , 1 , ROWNUM) FROM dual CONNECT BY ROWNUM<=LENGTH('1,2,3')-LENGTH(regexp_replace('1,2,3' , ',' , '') )+1;

 

Guess you like

Origin www.cnblogs.com/wangleping/p/11726245.html