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.

 All Forums
 SQL Server 2005 Forums
 Replication (2005)
 Transaction Replication Help.

Author  Topic 

NguyenL71
Posting Yak Master

228 Posts

Posted - 2010-01-29 : 15:10:37
Hi,

I am new to replication and after setting up trans replication, I add the table below at publisher and want to synch to subscriber only this table not entire snapshot again. Any help would greatly appreciate. BTW, I am using SQL 2005.

EXECute sp_addarticle @publication = 'Rep_MyDB_Trans'
, @article = 'employee'
, @source_table = 'employee';
go

Thanks.

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2010-01-31 : 09:50:05
Running Snapshot will only replicate the changes made.
Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2010-01-31 : 11:09:38
This is not correct. By default, snapshot will BCP all of the data from all of the tables.

Edit: (added references)

see here: http://msdn.microsoft.com/en-us/library/ms152493.aspx

This may be useful too: http://www.replicationanswers.com/Transactional.asp (scroll to "Why is a complete snapshot being generated when a new article is added to my publication")
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2010-01-31 : 11:54:11
quote:
Originally posted by russell

This is not correct. By default, snapshot will BCP all of the data from all of the tables.

Edit: (added references)

see here: http://msdn.microsoft.com/en-us/library/ms152493.aspx

This may be useful too: http://www.replicationanswers.com/Transactional.asp (scroll to "Why is a complete snapshot being generated when a new article is added to my publication")




It won't do complete snapshot if you have made @immediate_sync to false for publications and restart snapshot agent.
Also Service packs should be latest.
Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2010-01-31 : 13:13:02
exactly
Go to Top of Page
   

- Advertisement -