I'm curious on how to code this process. I am using collection objects to pull information from a table. Then I am using dbms_output.put_line
to display the values that I collected.
I want to append a line to the last line of my output. For example:
table A
col1 col2
1 3
2 4
I pull the values and use dbms_output.put_line
to display those items.
It would display:
1,3
2,4
Is there a way to append "This is the last line" to the last line collected/displayed to show...
1,3
2,4 This is the last line
I tried to add another dbms_output.put_line
after my loop during the collection process, but it just treats it as 2 lines.
1,3
2,4
This is the last line.