• Mark Horninger (7/8/2008)


    Will probably end up rewriting it completely, need more speed...

    Mark,

    If possible, try eliminating the cursor completely rather than rewriting it using other options.... 🙂


    Hugo Kornelis, SQL Server/Data Platform MVP (2006-2016)
    Visit my SQL Server blog: https://sqlserverfast.com/blog/
    SQL Server Execution Plan Reference: https://sqlserverfast.com/epr/