Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (17 sloc) 273 Bytes
:on error exit
use master;
go
if @@trancount > 0
rollback
go
use [source];
go
begin tran;
declare @h uniqueidentifier;
begin dialog conversation @h
from service [source_service]
to service N'target_service'
with encryption = off;
send on conversation @h;
commit;
go