Re: Replicating new table

From: Hilary Cotter (hilaryk_at_att.net)
Date: 08/05/04


Date: Thu, 5 Aug 2004 08:25:57 -0400

such a method would involve constantly polling the sysobjects and sysindexes
tables looking for a new table with a PK.

Then you would have to run sp_addarticle to add this table to your
publication.

Note that Log Shipping will do what you are looking for.

-- 
Hilary Cotter
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
"Jim" <jim_beale@hotmail.com> wrote in message
news:02e801c47a90$7c17a460$a301280a@phx.gbl...
> Is it possible to have a newly-created table automatically
> added to the list of published articles?  If so, how?
>


Relevant Pages

  • Re: Index Creation Date
    ... Mistake, mistake.. ... >>Join sysindexes and sysobjects and use the crdate in the ... Read details on SQL Server Books Online. ...
    (microsoft.public.sqlserver.security)
  • Re: Index Creation Date
    ... Join sysindexes and sysobjects and use the crdate in the ... Read details on SQL Server Books Online. ... sysusers u JOIN ...
    (microsoft.public.sqlserver.security)
  • DBCC
    ... DBCC results for 'sysobjects'. ... DBCC results for 'sysindexes'. ... There are 5613 rows in 91 pages for object 'syscolumns'. ...
    (microsoft.public.sqlserver.server)
  • dynamic sp build
    ... I currently build the script in a temp table that hold the statements for the new stored procedure. ... CREATE PROCEDURE dbo.x_Build_GetByPK @intablename varcharAS ... values ('FROM sysobjects '); ...
    (microsoft.public.sqlserver.programming)