I came across a nice how-to post this morning.  When it comes to databases, I’m a fan of anything that eliminates the need to use cursors.