Do you know the cursor optimization tips?

Submitted by: Administrator
Close cursor when it is not required.
You shouldn't forget to deallocate cursor after closing it.
You should fetch least number of records.
You should use FORWARD ONLY option when there is no need to update rows.
Submitted by: Administrator

Read Online SQL Server Cursors Job Interview Questions And Answers