I have the following doubt / problem: I have two declared cursors C_SALDO1 and C_SALDO_2, but I will only use 1, depending on a particular parameter that my procedure will receive. I want to work with the cursor to be used implicitly, using for loop.
I tried to create a cursor stating as follows:
TYPE CursorLoop IS REF CURSOR
Someone can give me a tip of how I can be doing this.