Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Replication Sync stopped with a SQL Error

$
0
0

Hi,

I have a replication with couple of subscribers. Recently I made a change to a stored procedure in the publisher DB.

I out a UNION with variable assignment inside it. after that synchronization stopped throwing the following error;

"Variable assignment is not allowed in a statement containing a top level UNION, INTERSECT or EXCEPT operator. (Source: MSSQLServer, Error number: 10734)"

So I changed my SP back as previous and executed. but the error is still there and synchronization ishappening. It's been around 20 hrs now and I'm in a big trouble. pls anyone help me with a solution. I do not want to lost the data in subscribers'

Thanks a Lot

Chama :)


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>