plsql - How to handle Special char in xml file while using DBMS_SQL.EXECUTE ? in dynamic query -


when pass collection record of cursor "c" , execute using dbms_sql.execute xml file, have using special character "&" etc... other non spl-char record has been executed dynamic query value using special char throwing error - ora-31011: xml parsing failed. here code

 c := dbms_sql.open_cursor;             -- parse sql statement         dbms_sql.parse(c, p_sql(i), dbms_sql.native);         -- start execution of sql statement         d := dbms_sql.execute(c); 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -