SQL Service Broker 是在SQL Server 2005中新增的功能.Service Broker 为 SQL Server 提供队列和可靠的消息传递,可以可用来建立以异步消息为基础的应用.当然从题目大家可能也看出来了.我们本文主要不是为了讲SQL Service Broker(SSB),而是讲一下如何使用BizTalk WCF-SQL Adapter来访问SSB的数据. SQL Service Broker(SSB) 为要便于大家更好的接下来的示例,我们还是概况的讲一下SSB的…
declare @t table(name varchar(),type int) insert into @t union all union all union all union all if object_id('test1') is not null drop table test1 create table test1( name varchar(), type int) insert into test1 union all union all union all union al…
-- ============================================= --启用 Broker USE master; GO ALTER DATABASE DEV_AMS SET ENABLE_BROKER; GO --或者 ALTER DATABASE 目标数据库 SET NEW_BROKER WITH ROLLBACK IMMEDIATE; GO ALTER DATABASE DEV_AMS SET ENABLE_BROKER; GO -- ============…