Oracle Pl/SQL: Loop through XMLTYPE nodes

前端 未结 5 1058
长情又很酷
长情又很酷 2020-12-04 14:38

I have a XMLTYPE with the following content:


    
        
            user1
         


        
5条回答
  •  感情败类
    2020-12-04 15:05

    select xt.* from xmltable('/users/user' passing xmltype('
        
            user1
        
        
            user2
        
        
            user3
        
    ') columns name varchar2(10) path 'name' ) xt 
    

提交回复
热议问题