PL/SQL - comma separated list within IN CLAUSE

后端 未结 4 792
离开以前
离开以前 2020-12-17 05:52

I am having trouble getting a block of pl/sql code to work. In the top of my procedure I get some data from my oracle apex application on what checkboxes are checked. Becaus

4条回答
  •  星月不相逢
    2020-12-17 06:13

    You can use XMLTABLE as follows

    SELECT * FROM users 
    WHERE user_id IN (SELECT to_number(column_value) FROM XMLTABLE(v_list));
    

提交回复
热议问题