<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8939178330057146172</id><updated>2012-02-16T14:20:16.227Z</updated><category term='is_broker_enabled'/><category term='migration'/><category term='SQL 2005'/><category term='SQL 2000'/><category term='Alter Database'/><category term='Service Broker'/><category term='Rollback'/><title type='text'>SQLizer</title><subtitle type='html'>Tips, tricks and just plain rants about MS-SQL.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://chiragroy.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8939178330057146172/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://chiragroy.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>[]v[]0rph1uZ</name><uri>http://www.blogger.com/profile/05010333857594337196</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8939178330057146172.post-4387997301069050676</id><published>2008-02-12T11:49:00.000Z</published><updated>2008-02-12T12:50:40.525Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='is_broker_enabled'/><category scheme='http://www.blogger.com/atom/ns#' term='migration'/><category scheme='http://www.blogger.com/atom/ns#' term='Rollback'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Service Broker'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='Alter Database'/><title type='text'>Service Broker queue isn't being processed</title><content type='html'>We were troubleshooting a problem with Service broker today, and realised the queue was being populated but wasn't being processed.&lt;br /&gt;&lt;br /&gt;Further investigation revealed that since our database had been migrated from SQL 2000 to SQL 2005 the "is_broker_enabled" was set to "off" and hence the queue wasn't being processed.&lt;br /&gt;&lt;br /&gt;To enable it we ran the following command&lt;br /&gt;&lt;br /&gt;ALTER DATABASE &lt;em&gt;[databasename]&lt;/em&gt; SET ENABLE_BROKER&lt;br /&gt;&lt;br /&gt;Now, this command when executed requires the session to have exclusive access to the database, so make sure you either close all other sessions active as well as inactive; or run the command with the termination options:&lt;br /&gt;&lt;br /&gt;ROLLBACK AFTER integer [SECONDS] - Specifies whether to roll back after the specified number of seconds.&lt;br /&gt;&lt;br /&gt;ROLLBACK IMMEDIATE - Specifies whether to roll back immediately.&lt;br /&gt;&lt;br /&gt;NO_WAIT - Specifies that if the requested database state or option change cannot complete immediately without waiting for transactions to commit or roll back on their own, the request will fail.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8939178330057146172-4387997301069050676?l=chiragroy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chiragroy.blogspot.com/feeds/4387997301069050676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8939178330057146172&amp;postID=4387997301069050676' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8939178330057146172/posts/default/4387997301069050676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8939178330057146172/posts/default/4387997301069050676'/><link rel='alternate' type='text/html' href='http://chiragroy.blogspot.com/2008/02/service-broker-queue-isnt-being.html' title='Service Broker queue isn&apos;t being processed'/><author><name>[]v[]0rph1uZ</name><uri>http://www.blogger.com/profile/05010333857594337196</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8939178330057146172.post-225324895683870210</id><published>2008-02-03T14:13:00.000Z</published><updated>2008-02-03T14:17:02.092Z</updated><title type='text'>The Beginning!!!</title><content type='html'>This is my very first blogging experience and will try to make this a regular rant on my varied experiences with the world of SQL. I consider this to be my way of giving back to the SQL community as I myself have gained a lot from the vast resources of knowledge and personal experiences of SQL guru's and novices alike. So let the quest begin.....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8939178330057146172-225324895683870210?l=chiragroy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8939178330057146172/posts/default/225324895683870210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8939178330057146172/posts/default/225324895683870210'/><link rel='alternate' type='text/html' href='http://chiragroy.blogspot.com/2008/02/beginning.html' title='The Beginning!!!'/><author><name>[]v[]0rph1uZ</name><uri>http://www.blogger.com/profile/05010333857594337196</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
