Advertisement

05.06.2008 at 02:39AM PDT, ID: 23378875
[x]
Attachment Details

SET ENABLE_BROKER Sets broker enabled for all later newly created database

Asked by Bhavin_o in MS SQL Server

Tags: Microsoft, SQL Server 2005, 2005, SET ENABLE_BROKER

Hi,

I am using Notification service for one of the application. To set the broker i am using the following TSQL

ALTER DATABASE [DBName] SET ENABLE_BROKER WITH ROLLBACK AFTER 5 SECONDS
GO

This works fine. Issue is after this if i create any new database on the same server, broker is automatically set enabled for it.

Is this the expected behaviour of SQL Broker ? As long as i understand its a database level setting and shuld not change setting on server level for other databases.

Let me know where i am going wrong......

ThanksStart Free Trial
[+][-]05.06.2008 at 01:56PM PDT, ID: 21510981

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MS SQL Server
Tags: Microsoft, SQL Server 2005, 2005, SET ENABLE_BROKER
Sign Up Now!
Solution Provided By: MohammedU
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.06.2008 at 11:34PM PDT, ID: 21513584

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628