could not get that method to work in our test lab... I have another post
"Narayana Vyas Kondreddi" <answer_me@hotmail.com> wrote in message
news:uZh9z8tVDHA.1832@TK2MSFTNGP09.phx.gbl...
> See if this helps:
>
http://support.microsoft.com/default.aspx?scid=kb;en-us;816755 >
> --
> HTH,
> Vyas, MVP (SQL Server)
>
http://vyaskn.tripod.com/ > What hardware is your SQL Server running on?
>
http://vyaskn.tripod.com/poll.htm >
>
>
>
> "S c o t t K r a m e r" <sckramer2000@hotmail.com> wrote in message
> news:y1UVa.28679$J%2.3573784@news.alltel.net...
> Hello:
>
> Is there a way to drop repl coulmns with default values, (so that it
> propagates to existing subscribers)
>
> Can you safely get rid of the DF_ object without breaking repl?
>
> Note: we do not want to reint subs, rebuild the pub etc...
>
> Thanks,
> Scott Kramer
>
> EXEC sp_repladdcolumn
> @source_object = 'lahdr'
> , @column = 'lahdrenteredtime1'
> , @typetext = 'varchar(8) NOT NULL DEFAULT (convert(varchar,getdate(),8))'
> , @publication_to_add = 'gwb'
>
>
> sp_repldropcolumn
> @source_object = 'lahdr'
> ,@column = 'lahdrenteredtime1'
>
>
> Warning: only Subscribers running SQL Server 2000 can synchronize with
> publication 'gwb' because schema replication is performed.
> Server: Msg 5074, Level 16, State 1, Line 1
> The object 'DF__lahdr__lahdrente__39BF9D86' is dependent on column
> 'lahdrenteredtime1'.
> Server: Msg 4922, Level 16, State 1, Line 1
> ALTER TABLE DROP COLUMN lahdrenteredtime1 failed because one or more
objects
> access this column.
>
>
>
>