hi all tell me when should i use cursor?
thanks saj
hi all tell me when should i use cursor?
thanks saj
Ideally as little as possible. Cursors have quite a high inherent processing overhead
Either when
For this last case using a SQL CLR solution is significantly faster than using a standard cursor.
Please read: http://wiki.lessthandot.com/index.php/Cursors_and_How_to_Avoid_Them
You should be able to go your whole career without ever using a cursor unless you are a database admin.