Need help on Replication

Please support our MS SQL advertiser: Intel Parallel Studio Home
Reply

Join Date: Nov 2008
Posts: 11
Reputation: Ricky80 is an unknown quantity at this point 
Solved Threads: 0
Ricky80 Ricky80 is offline Offline
Newbie Poster

Need help on Replication

 
0
  #1
Dec 15th, 2008
I need to replicate data from server A to server B, server A is for transactional use, while server B is for reporting, where we do some database modification, for example posting, the problem is everytime the replicate agent run, it reset the modification into the original data. and when I opt "Keep the existing table unchanged", the replication will fail or only run 1 time, from 6 times scheduled replication agent run.

example table modification :
Server A
Table Invoice
ID : 01
Date : 2008/08/10
Client : ABC
Flag : 0

Server B
Table Invoice
ID : 01
Date : 2008/08/10
Client : ABC
Flag : 1

can anyone tell me what option should I choose? do I need to mention row Filters or anything? any help appreciated, thx
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: Need help on Replication

 
0
  #2
Dec 22nd, 2008
My answer is: "Merge replication" http://msdn.microsoft.com/en-us/libr...6(SQL.90).aspx
To check if mine fits you take a look on http://msdn.microsoft.com/en-us/libr...1(SQL.90).aspx
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 11
Reputation: Ricky80 is an unknown quantity at this point 
Solved Threads: 0
Ricky80 Ricky80 is offline Offline
Newbie Poster

Re: Need help on Replication

 
0
  #3
Dec 22nd, 2008
Thanks Ramy, but I want the changes to be kept in the subscriber only, not to be applied into the publisher. how can we do that?
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: Need help on Replication

 
0
  #4
Dec 23rd, 2008
For sure publisher won't save unless last changes, so use the Transactional mode. please read the last link I've sent you, to be sure you're using the best suitable for you.
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC