Author: venkatesh.nayak
Posted: Fri Jan 13, 2017 11:34 am (GMT 5.5)
I would suggest you that use JOINS in place of retrieving data from Cursor 1 and then cursor2 AND later Cursor 1 and then cursor3.
JOIN Cursor1 Query with Cursor2 Query and execute it as single cursor. This would atleast saves upper level looping performing twice and can release hold resources as well
_________________
Thanking you
Regards,
Venkatesh
"Necessity is the mother of Inventions"
Posted: Fri Jan 13, 2017 11:34 am (GMT 5.5)
I would suggest you that use JOINS in place of retrieving data from Cursor 1 and then cursor2 AND later Cursor 1 and then cursor3.
JOIN Cursor1 Query with Cursor2 Query and execute it as single cursor. This would atleast saves upper level looping performing twice and can release hold resources as well
_________________
Thanking you
Regards,
Venkatesh
"Necessity is the mother of Inventions"