Error updating table with rowguidcol
In one of our environments, we have two SQL Server 2008 R2 DB aligned together by Peer to Peer replication, and each of the databases have a Merge replication with multiple subscribers. When we try to make an update on a article/table that is published in Merge and Peer to Peer shows this error:
“Error executing a batch of commands. Retrying individual commands”, “Updating columns with rowguidcol property is not allowed”
This error occurs because the stored procedures that Peer to Peer uses to make the updates, update all the columns, putting the new value or the old value, and updates in the rowguidcol are not allowed.
After reporting this error to Microsoft, they give the option to create a “custom” stored procedure, would only have to omit the line of code that updated the rowguidcol.
This is not supported by Microsoft, “You must support the logic in the stored procedure; Microsoft does not provide support for custom logic.” as described in Specifying How Changes Are Propagated for Transactional Articles Microsoft did not give us a date for a possible official fix.
Consultor Senior SQL Server & BI con 9 años de experiencia, MCSE Data Platform con conocimientos de toda la herramienta y enfocado principalmente a la detección y mejora de problemas de rendimiento en Base de Datos. En mi tiempo libre soy un gran aficionado a la fotografía de estilo urbano y de lugares abandonados.