YES. I changed it using alter table using following script. but I =
drop the article and then alter table, AND THEN I re-add article back =
in publication. SO even that method won't work?
altering the subscriptions =20
exec sp_dropsubscription @publication =3D 'tTestFNames'=20
, @article =3D 'tEmployees'=20
, @subscriber =3D 'RSCOMPUTER'
, @destination_db =3D 'testrep'=20
=20
exec sp_droparticle @publication =3D 'tTestFNames'
, @article =3D 'tEmployees'
=20
--- Change column definition
alter table tEmployees alter column Forename varchar(100) null
=20
exec sp_addarticle @publication =3D 'tTestFNames'=20
, @article =3D 'tEmployees'=20
, @source_table =3D 'tEmployees'=20
=20
exec sp_addsubscription @publication =3D 'tTestFNames'
, @article =3D 'tEmployees'
, @subscriber =3D 'RSCOMPUTER'=20
, @destination_db =3D 'testrep'=20
[quoted text, click to view] "Daniel Crichton" <msnews@worldofspack.co.uk> wrote in message =
news:uYj2fPsvFHA.2132@TK2MSFTNGP15.phx.gbl...
> Kevin wrote on Wed, 21 Sep 2005 10:26:34 -0400:
>=20
>> Since it's in active mode, and I'm using transaction replication,
>> I did a test. I change column defintion for one of the column on
>> publisher, and when I go to subscriber, how come I don't see the =
change?
>> I also wait about 12 hours, it is still not there. Is it because =
it's
>> depending on schedule? how do I force the synchronization?
>=20
> Did you make the change using ALTER TABLE, or via the the=20
> sp_repladdcolumn/sp_repldropcolumn procs or replication properties =
dialogs=20
> in EM?. Check BOL for "Schema Changes on Publication Databases", =
according=20
> to that ALTER TABLE changes to the schema are not replicated (I think =
I read=20
> that SQL Server 2005 will be able to do this though).
>=20
> Dan=20
>=20
hi paul,=20
When I forced the replication to run by "run agent now" under Status =
tab, I saw Distribution Agent has some errors on Replication Monitor. =
Session timeout is the error message. I realized that distribution =
agent is not started. So I started the distribution agent. I'm =
assuming replication will now work.
I'm a little confused about the process.
I just want to know why Distribute agent was stopped in the first place. =
Is it because I must manually start the distribute agent service when I =
force a replication?
And since it is transactional replication, shouldn't distribute agent =
service always up and running?
[quoted text, click to view] "Paul Ibison" <Paul.Ibison@Pygmalion.Com> wrote in message =
news:uoQGAEuvFHA.460@TK2MSFTNGP15.phx.gbl...
This is OK - if you're using transactional replication, you'll also =
need to run the snapshot then the distribution agents for it to go over. =
Also, Daniel's quite right that this type of tinkering is supported =
directly using the 'Replicate Schema Changes' option on the subscription =
options pane of SQL Server 2005 (by default is enabled).
Cheers,
Paul Ibison SQL Server MVP,
www.replicationanswers.com (recommended sql server 2000 replication book: