SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Does replication allow Script Changes ?


Does replication allow Script Changes ?

Author
Message
dba.sql29
dba.sql29
Ten Centuries
Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)

Group: General Forum Members
Points: 1039 Visits: 1251
Hi All,

I have a replication setup on Views if some one is altering one of the view it should replicated on Subscriber server am I correct ?

Please let me know.

Thanks
MyDoggieJessie
MyDoggieJessie
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27082 Visits: 7489
If you publication(s) were set up to replicate schema changes then it will replicate. ALTER TABLE, VIEW, PROCEDURE, FUNCTION, TRIGGER will be replicated. ALTER TABLE D-ROP COLUMN is always replicated to all subscriptions whose partition contains the columns being dropped, regardless of if this setting was set.

______________________________________________________________________________
Never argue with an idiot; Theyll drag you down to their level and beat you with experience

free_mascot
free_mascot
SSCoach
SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)

Group: General Forum Members
Points: 15819 Visits: 2250
Also if publication not set up to replicate schema; you need to remove and add from subscriber & publication. Also need to run snapshot agent to pickup the change.

---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
dba.sql29
dba.sql29
Ten Centuries
Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)

Group: General Forum Members
Points: 1039 Visits: 1251
Thanks for the reply ,

I have schema changes enabled but when I alter one of the view add one more column but it didn't reflect on the rep side. I have setup replication using backup and restore and in Initialize subscription and snapshot via backup. Do I need to do something else to make sure changes are going threw?

thanks a lot
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search