Groups | Blog | Home
all groups > sql server new users > march 2007 >

sql server new users : Server to Server communication


Mike Saunders
3/19/2007 2:46:54 PM

I am not familiar with SQL Server but need to know how the following
scenario would be satsified

A user registers his details online to a server somewhere. Another
server elswhere however also needs to be notified of this transaction
as well as store some of the original data The 2nd server then
generates a registration No which is then sent back the first server
where it is presented to the user All this to be transparent and
seamless

I would like to know as precisely as possible how this could be done so
we may formulate our requirement

Many thanks

Mike






Kevin G. Boles
3/19/2007 5:13:32 PM
1) Use a trigger on server 1 to send INSERTed data to the second server,
which also has a trigger to send generated data back to server 1.

2) Have your code set up to do one distributed transaction referencing both
servers as necessary in turn.

3) more obtuse solutions can be developed using Service Manager and/or
Message Queues.



--
TheSQLGuru
President
Indicium Resources, Inc.
[quoted text, click to view]

Anthony Thomas
3/24/2007 1:34:36 PM
SQL Server 2005 also hosts the new Service Broker. Perhaps this was what
Kevin was referring to instead of Service Manager.

Basically, Service Broker is a small-scaled, DBMS hosted, transacted Message
Queue.

Sincerely,


Anthony Thomas


--

[quoted text, click to view]

AddThis Social Bookmark Button