all groups > sql server replication > august 2004 >
You're in the

sql server replication

group:

replication without MSrepl_tran_version column


replication without MSrepl_tran_version column gillts NO[at]SPAM hotmail.com
8/26/2004 9:35:22 PM
sql server replication:
HI there,

just wanted to know if there is a way to replicate my database without
adding the MSrepl_tran_version column to my tables? This column is
creating a stuff up in my asp code. I am not sure what is NOT FOR
REPLICATION option and where can I enable/disable it?

Re: replication without MSrepl_tran_version column Hilary Cotter
8/27/2004 8:02:35 AM
use bi-directional transactional replication for this.

Do a search on Implementing Nonpartitioned, Bidirectional, Transactional
Replication for an example of how to implement this.

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


[quoted text, click to view]

Re: replication without MSrepl_tran_version column Paul Ibison
8/27/2004 10:41:05 AM
Kanjar,
if you are using snapshot or transactional publications that allow updatable
subscriptions then this column is required.
NOT FOR REPLICATION is an option on identities, FKs and triggers. If you
look in BOL for 'CREATE TRIGGER' you'll see details about its use. Basically
it is telling SQL Server not to apply the constraint, identity, trigger code
etc to data originating through the replication process.
HTH,
Paul Ibison

AddThis Social Bookmark Button