摘要:
在我們開發service broker應用時候,可能用于測試或者客戶端沒有配置正確等導致服務端隊列存在很多垃圾隊列,不便于我們排查錯誤,我們可以使用SQL腳本來清空服務端這些垃圾數據:USETestDBdeclare@conversationuniqueidentifierwhileexists(select1fromsys.transmission_queue)beginset@conversation=(selecttop1conversation_handlefromsys.transmission_queue)endconversation@conversationwithcleanu 閱讀全文
posted @ 2011-08-25 10:04
搏擊的小船
閱讀(1057)
評論(0)
推薦(1)
浙公網安備 33010602011771號