Groups | Blog | Home
all groups > sql server replication > january 2006 >

sql server replication : Modifing values from one database to another


Lina Manjarres
1/20/2006 8:26:06 AM
I have several databases in a merge replication.
there are two servers linked so i can send data from one to the other. I
mean Server Fenix is linked to Neptune. Neptune is replicating an Feniz is
the Replicator.

When one table in one of the remote computers is changed the trigger make
price =0. This trigger is NOT FOR REPLICATION, because it was causing to many
conflicts before, because it also executed a Store Procedure that change the
Price to some value.

My problem is that I have a store procedure that once this price=0 it has to
delete some data in one databes of NEPTUNE that is not being replicated.

The problem is that I get an error message saying:

SERVER NEPTUNE IS NOT CONFIGURED FOR DATA_ACCESS

So I try to link Neptun to one of those remote machines, but it is not
posible because they are replicating, I guess....

The way I try to reach Neptune si:

DELETE [NEPTUNE].LABORATORIO.DBO.TABLAPUNTOSCOMPRA
WHERE....

I do not know if this is too confusing...

Thanks a lot if some one can help me,
Hilary Cotter
1/20/2006 11:14:48 PM
try this. sp_serveroption 'Neptune', 'data access',true

or
sp_serveroption 'Neptune', 'data access','true'


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

[quoted text, click to view]

Lina Manjarres
1/21/2006 6:21:02 AM
Thank you, Hilary.

I have this two sentences inside the store procedure and they do no work.
exec sp_serveroption 'NEPTUNO','data access','true'
EXEC sp_serveroption 'NEPTUNO', 'collation compatible', 'true'


[quoted text, click to view]
AddThis Social Bookmark Button