How to recover Service Broker after restoring database?
问题 After db restoring on other server the Service Broker is stopped. The restored db has a Trustworthy Off and now I set it to On to run Broker again. I understand that it is bad practice. Especially after reading articles by solomon-rutzky. I have made as Solomon advised for SQLCLR UNSAFE functions without setting database to TRUSTWORTHY ON. It works fine! How to restore Broker working in case TRUSTWORTHY OFF? 回答1: Trustworthy isn't required to run Service Broker. There is, however, an option