Optimize SQL Stored Procedure

Job ID: 33807288

Budget: $10 – $30 USD

I have an Stored Procedure for Microsoft SQL and has very poor performance.

I know the section, which is a cursor and updates using WHERE XX IN(

The section is small, maybe 25 lines total

Need someone to optimize it