Enabling Service Broker in SQL Server 2008

前端 未结 5 774
隐瞒了意图╮
隐瞒了意图╮ 2021-01-30 10:28

I am integrating SqlCacheDependency to use in my LinqToSQL datacontext.

I am using an extension class for Linq querys found here - http://code.msdn.microsoft.com/linqtos

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-30 11:19

    We can enable Broker services by ALTER DATABASE statement and also from Database properties > Options > Service Broker > Broker Enable: True/False.

    But issue here while enabling the broker: processes are running with the specific database we have to kill those and only after that we can enable broker service. answered by @JGilmartin will perfectly work, but make sure it'll kill all ongoing processes of your database, before using this script on production kindly check traffic or severity of process.

提交回复
热议问题