时间:2021-07-01 10:21:17 帮助过:29人阅读
--is_broker_enabled为0未启用,为1启用
SELECT name,is_broker_enabled FROM sys.databases WHERE name = ‘DBNAME‘
ALTER DATABASE DbName SET NEW_BROKER WITH ROLLBACK IMMEDIATE;
ALTER DATABASE DbName SET ENABLE_BROKER;
启用数据库的 Service Broker
标签:sys broker -- data database set immediate base with