title: What are the different ways to replace a cursor?
body: <p>I'd like to know your experience(s) with replacing SQL Server cursors in existing code, or how you took a problem that a procedural guy would use a cursor to solve, and did it set-based.</p>
  
  <p>What was the problem the cursor was used to solve? How did you replace the cursor?</p>