• I strongly agree with Jason, and stop using a Cursor.

    They are only a curse on a database.

    Andrew SQLDBA