Split function in oracle to comma separated values with automatic sequence

后端 未结 8 977
遇见更好的自我
遇见更好的自我 2020-11-28 09:37

Need Split function which will take two parameters, string to split and delimiter to split the string and return a table with columns Id and Data.And how to call Split funct

8条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-28 10:42

    Best Query For comma separated in This Query we Convert Rows To Column ...

    SELECT listagg(BL_PRODUCT_DESC, ', ') within
       group(   order by BL_PRODUCT_DESC) PROD
      FROM GET_PRODUCT
    --  WHERE BL_PRODUCT_DESC LIKE ('%WASH%')
      WHERE Get_Product_Type_Id = 6000000000007
    

提交回复
热议问题