How to change data type

  • I am trying to change data type from varchar (10) to (20)

    on a table that is in transactional replication but this column is not part of the subscription.

    SQL 2000 SP3

    Any help will be appreciated.

  • This was removed by the editor as SPAM

  • Just do the alter, it don't affect replication. If the column was published, you'd have to drop the subscription and remove the column from the article, change it, add back, redo the subscription including snapshot.

    Andy

    http://qa.sqlservercentral.com/columnists/awarren/

  • Andy,

    you wrote : "If the column was published,[...] you'd have to [..] remove the column from the article...".

    I've followed your instructions but it didn't work : remove the column from the article is not enough ; I had to remove the table from the publication... and it worked after snapshot !

    Thanks.

    Jacques.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply