connectseekers.com

Wednesday, 19 August 2020

Enable or Disable Service Broker in SQL Server

8/19/2020 - By Pranav Singh 0

 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 query to check the detail.

 

Now run the below query to enable the service broker.

ALTER DATABASE <DB Name> SET ENABLE_BROKER WITH ROLLBACK IMMEDIATE

 Now run the query and check the status of broker you will get it "1". For disabling the broker we will use the below query.

ALTER DATABASE <db Name> SET Disable_BROKER WITH ROLLBACK IMMEDIATE

 


Tags:
About the Author

We are the group of people who are expertise in different Microsoft technology like Asp.Net,MVC,C#.Net,VB.Net,Windows Application,WPF,jQuery,Javascript,HTML. This blog is designed to share the knowledge.

Get Updates

Subscribe to our e-mail newsletter to receive updates.

Share This Post

0 comments:

Please let me know your view

Free Ebooks


About Us

We are the group of people who are expertise in different Microsoft technology like Asp.Net,MVC,C#.Net,VB.Net,Windows Application,WPF,jQuery,Javascript,HTML. This blog is designed to share the knowledge.

Contact Us

For writing article in this website please send request by your

GMAIL ID: dotnetpools@gmail.com

Bugs and Suggestions

As we all know that this website is for sharing knowledge and providing proper solution. So while reading the article is you find any bug or if you have any suggestion please mail us at contact@aspdotnet-pools.com.

Partners


Global Classified : Connectseekers.com
© 2014 aspdotnet-pools.com Designed by Bloggertheme9.
back to top