then just drop these three articles
(exec sp_droparticle @publication = '
(exec sp_addsubscription @publication = '
Will this process work or am i missing any step.
March 15, 2007 at 12:05 pm
I have to change the schema of three tables which are replicated. Just tell me if i am wrong.
I am planning to drop the subscription
(exec sp_dropsubscription @publication =
then just drop these three articles
(exec sp_droparticle @publication = '
(exec sp_addsubscription @publication = '
Will this process work or am i missing any step.
March 27, 2007 at 11:39 am
Are you doing snap shot replication? If so, this is how I would change the schema using enterprise manager.
Right Click the publication and select Properties. On the Articles tab, drop the tables in question.
Go make your schema changes.
Add back the tables from the Articles tab.
Right Click the publication and select Reintialize All Subscriptions.
Steve
March 27, 2007 at 11:54 am
I am using a transactional replication, SQL Server 2000, SP4. do i have to follow any different process? If so would really appreciate if you could explain it.
thanks
amit
March 27, 2007 at 12:29 pm
I have no experience with tansactional replication so I wouldn't know. Sorry.
Steve
March 27, 2007 at 7:38 pm
If you're adding or dropping columns from a transactional pub you can do so without dropping the article, either using the repl gui or sp_repladdcolumn/dropcolumn. For column changes you typically drop the article as you outlined.
March 28, 2007 at 8:55 am
Thank you
May 11, 2007 at 10:06 am
It has been a long time since I have worked with replication and am in a similar situation. I have a script that is from a third party vendor that will apply schema/table changes to a publisher database which is pushing transactional replication to another server.
My thinking is that this might work and if anyoone has any insight please share
I do not have a place to test...aaargh
"Keep Your Stick On the Ice" ..Red Green
May 14, 2007 at 8:11 am
Those steps will work. If you're only doing column add/drop you can make the changes without dropping the sub, but as soon as you need to alter a column you're stuck (unless you want to modify the procs by hand, etc).
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply