dbTalk Databases Forums  

Re: SQL 2005: Transact. Repl. > Executing sp on subscriber doesn't execute on publisher

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Re: SQL 2005: Transact. Repl. > Executing sp on subscriber doesn't execute on publisher in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Hilary Cotter
 
Posts: n/a

Default Re: SQL 2005: Transact. Repl. > Executing sp on subscriber doesn't execute on publisher - 01-17-2008 , 09:30 AM






Begin tran
update server1.database1.dbo.table1 set col1=4 where pk=5
update server2.database1.dbo.table1 set col1=4 where pk=5
commit tran

--
http://www.zetainteractive.com - Shift Happens!

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Patrick" <patrickmwolf (AT) gmail (DOT) com> wrote

Quote:
On Jan 16, 5:33 am, Hilary Cotter <hilary.cot... (AT) gmail (DOT) com> wrote:
You can't. Basically only table changes are replicated back to the
publisher.

You will need to code something perhaps using a distributed
transaction which will execute this on the publisher as well as the
subscriber.

Thank you for your answer. Would you be able to give me a simple
example of how I could code something?

Thank you very much,
Patrick



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.