Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replication - Column filtering confusion

Status
Not open for further replies.
Jul 2, 2003
12
0
0
US
I'm learning replication (snapshot for now) and was trying filtering & got strange results. (SQL 2K sp2)

Publisher: Table1

FieldA
FieldB
FieldC

Subscriber: Table1

FieldA
FieldB
FieldC

But now, I decide after the fact to filter FieldC. The subscriber Table still has 3 fields, but the publisher data from Field 1 + 2 gets shifted across all 3 fields at the subscriber.

If I manually drop the table at the subscriber, then next time the job runs, it recreates the table with just 2 fields and looks good.

Is there some way to set replication so that it will drop & re-create the subscriber table automatically if the filter changes ? Or am I missing something else in my understanding ?

Under "Default Table Article Properties - Snapshot" the option "DROP the existing table & recreate it" is checked. When does that apply ?? Just when first set up ?

Any enlightenment is appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top