1、--查询是否具有Broker功能

1 select is_broker_enabled from sys.databases where [name]='DBName'


2、--打开Broker功能

 

--打开Broker功能
ALTER DATABASE DBNAME SET NEW_BROKER WITH ROLLBACK IMMEDIATE;
ALTER DATABASE DBNAME SET ENABLE_BROKER;

 

3、--建一个普通登录用户,授权给owner权限

 

GRANT SUBSCRIBE QUERY NOTIFICATIONS TO NewDBUSer


 

相关文章:

  • 2022-03-01
  • 2021-12-15
  • 2022-12-23
  • 2021-11-30
  • 2021-10-14
  • 2021-10-20
  • 2022-02-20
  • 2022-12-23
猜你喜欢
  • 2021-12-13
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2022-01-21
  • 2022-12-23
  • 2022-01-30
相关资源
相似解决方案