Splitting comma separated string in a PL/SQL stored proc

前端 未结 8 1797
别跟我提以往
别跟我提以往 2020-11-30 05:08

I\'ve CSV string 100.01,200.02,300.03 which I need to pass to a PL/SQL stored procedure in Oracle. Inside the proc,I need to insert these values in a Number column in the ta

8条回答
  •  攒了一身酷
    2020-11-30 05:39

    Many good solutions have been provided already. However, if he text is provided in a very simple comma delimited format or similar, and speed is of importance, then I have for you a solution with a TABLE function (in PL/SQL). I have also provided a rundown of some other solutions.

    Please see more on the Blog Entry on Parsing a CSV into multiple columns.

提交回复
热议问题