I'm new to Oracle, having a SQL Server background.
The situation here is that I have three cursors, one brings the client details (name, city, etc), another gets the client sale count, the other gets the client repair count. I broke it into three cursors, from one, because as a single query, it was taking 8 seconds to run. Now with three cursors, I want to combine all the details and sort by the sale and repair counts. Then I need to manipulate that data a little and output it.
What sort of structure do I put the cursor data into that will let me sort?
Thank you
The situation here is that I have three cursors, one brings the client details (name, city, etc), another gets the client sale count, the other gets the client repair count. I broke it into three cursors, from one, because as a single query, it was taking 8 seconds to run. Now with three cursors, I want to combine all the details and sort by the sale and repair counts. Then I need to manipulate that data a little and output it.
What sort of structure do I put the cursor data into that will let me sort?
Thank you