MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMS SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 23rd, 2008, 01:15 PM
itsonlyme4 itsonlyme4 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 6 itsonlyme4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 40 sec
Reputation Power: 0
Replication - MSSQL Server 2000

An application upgrade required one of the tables being replicated in our transactional replication model to be altered - Column length change.

What I did was:

Code:
Exec dbo.sp_dropsubscription  @publication='TowerDB to 
KOCSQL03', @article='COD' , @subscriber='KOCSQL03'


Exec dbo.sp_droparticle @publication='TowerDB to KOCSQL03', @article='COD',
@force_invalidate_snapshot=1
Exec dbo.sp_refreshsubscriptions  'TowerDB to KOCSQL03'


--

Once the article was dropped from replication we stopped replication, did the APP upgrade which changed the table, dropped the old table from the subscriber Database and then I did this:

Code:
Exec dbo.sp_addsubscription  @publication='TowerDB to KOCSQL03', @article='Tower.COD' , @subscriber='KOCSQL03'

Exec dbo.sp_addarticle @publication='TowerDB to KOCSQL03', @article='tower.COD', @source_table= 'tower.cod' , @destination_table= 'tower.cod' ,
@force_invalidate_snapshot=1

Exec dbo.sp_refreshsubscriptions  'TowerDB to KOCSQL03'


Once the article was added back in, started replication. I expected replication to create the new table on the suscriber but it didn't.

stopped replication again and scripted out the table on the publisher and recreated it on the subscriber.. still won't replicate..

what am I missing here???!!!!????

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > Replication - MSSQL Server 2000


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway