title: Which is faster in SQL, While loop, Recursive Stored proc, or Cursor?
body: <p>Which is faster in SQL, While loop, Recursive Stored proc, or Cursor?
  I want to optimize the performance in a couple of spots in a stored procedure.
  The code I'm optimizing formats some strings for output to a file.</p>