How can I select from list of values in Oracle

前端 未结 6 2135
刺人心
刺人心 2020-11-28 02:28

I am referring to this stackoverflow answer:

How can I select from list of values in SQL Server

How could something similar be done in O

6条回答
  •  [愿得一人]
    2020-11-28 03:18

    Hi it is also possible for Strings with XML-Table

    SELECT trim(COLUMN_VALUE) str FROM xmltable(('"'||REPLACE('a1, b2, a2, c1', ',', '","')||'"'));
    

提交回复
热议问题