Unix Technical Forum

Merge WAN Database (Best way to add 1 new field)

This is a discussion on Merge WAN Database (Best way to add 1 new field) within the SQL Server forums, part of the Microsoft SQL Server category; --> I have a Database which is Merge Replicated to 5 sites I need to add 1 new field What ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 03:52 AM
paul goldney
 
Posts: n/a
Default Merge WAN Database (Best way to add 1 new field)

I have a Database which is Merge Replicated to 5 sites

I need to add 1 new field

What is the best way of doing this ?

I have previously removed the publications, subscribers, added the
field and pushed the whole database out

Please advise

Regards Paul
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 03:52 AM
Simon Hayes
 
Posts: n/a
Default Re: Merge WAN Database (Best way to add 1 new field)

paulg@wizardit.co.uk (paul goldney) wrote in message news:<dda7c881.0408082311.183c39@posting.google.co m>...
> I have a Database which is Merge Replicated to 5 sites
>
> I need to add 1 new field
>
> What is the best way of doing this ?
>
> I have previously removed the publications, subscribers, added the
> field and pushed the whole database out
>
> Please advise
>
> Regards Paul


When you say "add a new field", I guess you mean "add a new column to
an existing table"? You can make the change with the replication
interface in Enterprise Manager, and it will be replicated for you -
see "Schema Changes on Publication Databases" in Books Online.

Simon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 03:54 AM
Greg D. Moore \(Strider\)
 
Posts: n/a
Default Re: Merge WAN Database (Best way to add 1 new field)


"paul goldney" <paulg@wizardit.co.uk> wrote in message
news:dda7c881.0408082311.183c39@posting.google.com ...
> I have a Database which is Merge Replicated to 5 sites
>
> I need to add 1 new field
>
> What is the best way of doing this ?
>
> I have previously removed the publications, subscribers, added the
> field and pushed the whole database out



Check out sp_repladdcolumn.

>
> Please advise
>
> Regards Paul



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:16 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com