Union data from cursors into one
问题 I have stored procedure which executes another stored procedure several times. I need union and return data, which I have after executing second procedure. Can I in some way union data from several cursors into one another cursor? It is possible without temporary tables or table-like datatype? EDIT: Cursor count for union actually is n (where n is 1, 2, 3, etc, detecting by another procedure). For example: CREATE OR REPLACE PROCEDURE proc_data ( data_out OUT SYS_REFCURSOR ) IS BEGIN OPEN data