SQL Server 消息队列,处理程序错误存储过程书写错误,会导致消息处理队列停用,此时只需将错误修正,再将队列处理状态启用即可。
ALTER QUEUE OrdBomPurQty_ReivceQueue WITH ACTIVATION ( STATUS = ON, PROCEDURE_NAME = Target_OrdBomPurQty_Mail_ActivProc, MAX_QUEUE_READERS = 10, EXECUTE AS SELF );
SQL Server 消息队列,处理程序错误存储过程书写错误,会导致消息处理队列停用,此时只需将错误修正,再将队列处理状态启用即可。
ALTER QUEUE OrdBomPurQty_ReivceQueue WITH ACTIVATION ( STATUS = ON, PROCEDURE_NAME = Target_OrdBomPurQty_Mail_ActivProc, MAX_QUEUE_READERS = 10, EXECUTE AS SELF );
转载于:https://www.cnblogs.com/CoreXin/p/4747992.html