Comma Separated values in Oracle

后端 未结 5 1117
北海茫月
北海茫月 2020-12-18 14:44

I have a column with comma separated values like 6,7,99.3334.

I need write a PL SQL procedure that will give me these values separately. The Length of t

5条回答
  •  醉话见心
    2020-12-18 15:09

    You haven't said if you want the items in columns or rows. The row solution is quite easy using xml: http://pbarut.blogspot.com/2006/10/binding-list-variable.html

    Basically you convert the string into an xml document then you pull the values out.

提交回复
热议问题