Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
正如我们所知,为我们创建的新数据库启用了 Service Broker。但是最近服务代理被自动禁用了。即使数据库已恢复,Service Broker 是否应该默认启用?
你是如何进行还原的?默认情况下,在还原期间禁用服务代理。
尝试做
RESTORE DATABASE <database_name> FROM <backup_device> with ENABLE_BROKER
上面的命令在MSDN RESTORE Arguments (Transact-SQL)上有完整的解释