dbTalk Databases Forums  

I need help with Transactional Replication

microsoft.public.sqlserver.replication microsoft.public.sqlserver.replication


Discuss I need help with Transactional Replication in the microsoft.public.sqlserver.replication forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Carl Henthorn
 
Posts: n/a

Default I need help with Transactional Replication - 11-10-2004 , 01:49 PM






I am just beginning with transactional replication, and I have a publisher
with a primary key on the identity column (UID), some data, then an adddate
(varchar 8) column iwth ccyymmdd data in it. I want to replicate this table
to a server based on the adddate value (all records pushed since a given
adddate). My replication attempts seem to only want to work off of the
primary key column. How do I get it to work off of the adddate column, or do
I even really want to?
Thank you for any help in advance
The publisher (and subscriber) tables look like this:
create table temp (
uid bigint,
data_1 varchar(20),
adddate varchar(8)
)

Reply With Quote
  #2  
Old   
Paul Ibison
 
Posts: n/a

Default Re: I need help with Transactional Replication - 11-10-2004 , 02:06 PM






Carl,
TR will only replicate the changes to this table since the last
synchronization. If new records have been added, they'll automatically be
picked up. With this in mind you can probably forget about filtering the
dddate column, unless I am misunderstanding you.
rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com

(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)



Reply With Quote
  #3  
Old   
Carl Henthorn
 
Posts: n/a

Default Re: I need help with Transactional Replication - 11-10-2004 , 02:34 PM



ok, perhaps I have a different problem, then. When I update the publisher by
inserting numerous new rows, I manually run the distributer and it claims
that there are no rows to replicate. How can I get the distributor to see the
new rows?

"Paul Ibison" wrote:

Quote:
Carl,
TR will only replicate the changes to this table since the last
synchronization. If new records have been added, they'll automatically be
picked up. With this in mind you can probably forget about filtering the
dddate column, unless I am misunderstanding you.
rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com

(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)




Reply With Quote
  #4  
Old   
Paul Ibison
 
Posts: n/a

Default Re: I need help with Transactional Replication - 11-10-2004 , 02:56 PM



Carl,
are you using a filter on the publication?
Is the log reader agent running?
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)



Reply With Quote
  #5  
Old   
Carl Henthorn
 
Posts: n/a

Default Re: I need help with Transactional Replication - 11-10-2004 , 04:10 PM



There are no filters being used, and the log reader agent shows no errors.

"Paul Ibison" wrote:

Quote:
Carl,
are you using a filter on the publication?
Is the log reader agent running?
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)




Reply With Quote
  #6  
Old   
Paul Ibison
 
Posts: n/a

Default Re: I need help with Transactional Replication - 11-11-2004 , 03:51 AM



Carl,
make a change to a row then run sp_browsereplcmds in the
distribution database to see if the rows are reaching
there.
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.