In this I will show you how you can enable or disable the service broker in sql server data base. Now first we will check service broker in enable to not for this we will use the bellow query.
SELECT is_broker_enabled FROM sys.databases WHERE name ='DB Name' |
Now run the below query to enable the service broker.
ALTER DATABASE <DB Name> SET ENABLE_BROKER WITH ROLLBACK IMMEDIATE |
ALTER DATABASE <db Name> SET Disable_BROKER WITH ROLLBACK IMMEDIATE |
0 comments:
Please let me know your view