Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a database that is published, and a seperate server subscribes to this publication. We are using Transactional Replication (as far as I can tell)

I need to alter a column on ServerA (the published database) Will the changes be reflected on ServerB (the subscriber) or do I need to change it there too?

Do i need to re-initialize anything?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If I remember correctly SQL 2000 doesn't allow you to change columns. You have to add a new column with the new size, then move the data, then drop the old column.

This can't be done with the normal ALTER TABLE command. You have to use the replication stored procedures to add and remove the columns.

The least complex way to do it is to remove the replication, make the changes, then resetup replication.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.