Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
amsqlguy
Yak Posting Veteran
89 Posts |
Posted - 2008-10-27 : 16:32:05
|
Guys,I am setting up the transaction replication for that I have update the identity property to set 'Not for Replication' to Yes by using the following.EXEC sp_msforeachtable @command1 = 'declare @int intset @int =object_id("?")EXEC sys.sp_identitycolumnforreplication @int, 1'on the same token how can set the triggers to allow replication so that when record is inserted on subscriber database the trigger does not fire.Any suggestions and inputs would help.Thanks |
|
saurabhsrivastava
Posting Yak Master
216 Posts |
Posted - 2008-10-27 : 17:00:26
|
check this out http://www.replicationanswers.com/Script24.asp |
 |
|
saurabhsrivastava
Posting Yak Master
216 Posts |
Posted - 2008-10-27 : 17:03:57
|
Sorry!!! forgot to mention that I have never used it. I would suggest you first test it before running it on Production server. |
 |
|
|
|
|