Hi
I have to optimize my Stored Procedure code.The Sp was earlier using Cursors in it.
Now I have to replace Cursor with while loop but I am confused which is better to use temp table or table variable in loop to store data , from performance point of view.
Please help me out.
Thanks in advance!!!!!!