oracle实用sql之将逗号分割的字符串分割多个列

  

select regexp_substr('a,b,c,','[^,]+',1,rownum) from dual connect by rownum<=length(regexp_replace('a,b,c,', '[^,]', null));

 

posted @ 2016-11-22 18:07  我爱她的姐姐  阅读(25258)  评论(1编辑  收藏  举报