SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Question on Transaction replication
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

future_is_me
Starting Member

USA
14 Posts

Posted - 02/05/2013 :  15:41:45  Show Profile  Reply with Quote
Hello,

I am using SQL Server 2008 R2 SP1 SE. I have a question on transaction replication.In transaction replication is there a way that I can restrict the updates specific only to a column? Lets say if updates occur on source table(publisher database) on column a, column b and column c then I dont want any thing to get updated in the destination database tables (subscriber database). But if update occurs only on column d on source table(publisher database) then I want it to get updated in destination table too (subscriber database). Is this possible?

Thanks

srimami
Posting Yak Master

160 Posts

Posted - 02/05/2013 :  22:34:30  Show Profile  Reply with Quote
Yes it is possible using triggers
Go to Top of Page

future_is_me
Starting Member

USA
14 Posts

Posted - 02/06/2013 :  09:37:01  Show Profile  Reply with Quote
Thanks. I am not good at TSQL. Please let me know if there is a script available for this.

Thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.07 seconds. Powered By: Snitz Forums 2000