Hi Pradosh,
The above code is a good technique when performance is taken into consideration and u can proceed with it. Called Parallel cursor technique and it is an alternative for Nested Loops.
Could u plz tell if u faced any issue with this one ......
Thanks
Vivek