这个 要用到动态sql才行  根据最多的,来分割字段 

解决方案 »

  1.   

    SQL> select * from A;                                     ID NAME
    --------------------------------------- --------------------
                                          1 one,two,threeSQL> select id,replace(name,',','|') from A;                                     ID REPLACE(NAME,',','|')
    --------------------------------------- ---------------------
                                          1 one|two|three
      

  2.   

    使用replace函数可以解决,
    replace 函数的用法:
    replace('将要更改的字符串','被替换掉的字符串','替换字符串')