When you run UndoCleanQueuesPatch.sql in Microsoft SQL Server Query Analyzer to uninstall the CleanQueues stored procedure patch, the following errors may occur:
Server: Msg 111, Level 15, State 1, Line 5
'CREATE PROCEDURE' must be the first statement in a query batch.
Server: Msg 137, Level 15, State 1, Line 20
Must declare the variable '@nvcServerProcessing'.
Server: Msg 137, Level 15, State 1, Line 26
Must declare the variable '@snReason'.
Server: Msg 137, Level 15, State 1, Line 34
Must declare the variable '@nvcServerProcessing'.
Server: Msg 137, Level 15, State 1, Line 40
Must declare the variable '@snReason'.
Server: Msg 137, Level 15, State 1, Line 48
Must declare the variable '@nvcServerProcessing'.
Server: Msg 137, Level 15, State 1, Line 54
Must declare the variable '@snReason'.