How to output result of SELECT statement which is executed using native dynamic SQL?

后端 未结 3 1024
[愿得一人]
[愿得一人] 2020-12-03 16:10

I have a string which contains SQL SELECT statement.
I wonder how can I output result of the execution of that statement on the screen, execution will be do

3条回答
  •  眼角桃花
    2020-12-03 16:52

    If you can change that execute immediate into a dbms_sql cursor, then the following solution should be able to help you, as you can get the column names from a dbms_sql cursor:

    https://forums.oracle.com/forums/thread.jspa?threadID=700648

提交回复
热议问题