Re: Question about replicating stored procedure execution



Exactly. Its not commonly used because most people don't know about it, and
secondly sometimes the tables referenced by the stored procedures are
different on the publisher and subscriber and therefore you get different
dml on either side.

Other people want the proc run within a serializable transaction for
consistency, which is another option. Is the proc is not run within a
serializable transaction, the DML is replicated instead of the proc.

--
Hilary Cotter
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

<pshroads@xxxxxxxxx> wrote in message
news:1139532907.083047.89490@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am doing some research in advance of setting up replication. I've
read about replicating stored procedure execution and I need
clarification on what it is exactly.

My understanding is that, for example, if you have a stored procedure
on the publisher that modifies 10,000 rows then replication will not
replicate the 10,000 modifications to the subscriber but will rather
pass along the execute command which will then be executed locally at
the subscriber. Do I have that correct?

Is this a common practice in a replication scenario?

Thanks



.



Relevant Pages

  • Re: "Text column data incomplete" error during replication
    ... Looking for a SQL Server replication book? ... Could not find stored procedure 'sp_MSupd_Entity Address'. ... > Disconnecting from Subscriber '' ... > properties tab of this publictaion at the Publisher, ...
    (microsoft.public.sqlserver.replication)
  • Re: two questions
    ... I take it you have a criteria to filter on. ... on the browse button to the right of your stored procedure and select the ... Looking for a SQL Server replication book? ... > distributor runs on publisher. ...
    (microsoft.public.sqlserver.replication)
  • Re: two questions
    ... I have 3 subscribers and 1 publisher. ... > on the browse button to the right of your stored procedure and select the ... > parameter on every unc deployed subscriber. ... > Looking for a SQL Server replication book? ...
    (microsoft.public.sqlserver.replication)
  • Re: "Text column data incomplete" error during replication
    ... I treid the same replication 3 more times, and the erro I got on those 3 ... Could not find stored procedure 'sp_MSupd_Entity Address'. ... Disconnecting from Subscriber '' ... properties tab of this publictaion at the Publisher, ...
    (microsoft.public.sqlserver.replication)
  • Re: Transactional Replication 2005
    ... replication from production database as the publisher and subscribe it to ... Create the distributor on the publisher server ... I then create the subscriber, ... the identity NFR property setting has to match between publisher ...
    (microsoft.public.sqlserver.replication)