From: wadii boulila on 20 Mar 2010 20:32 I have performed a transactional replication in my company (SQL server 2000). However, replication agents are idles. I need a script or a command sql to reinitialize the publication. When I right click at the publication and I reinitialize all subscriptions, the agents (snapshot, journal and distribution) start. What command to execute to reinitialize the publication. Thanks a lot. url:http://www.ureader.com/gp/1156-1.aspx
From: I would like a replication that not ex on 21 Mar 2010 09:30 I have this message: «L'abonnement a été marqué comme inactif et doit être réinitialisé sur l'éditeur. Contactez l'administrateur de la base de données. (Source : serv\serv (Source de données) ; Numéro d'erreur : 21074) » This means that subscription is marked as inactive and must be reinitialized on the editor. So when I execute: USE msdb ; GO EXEC dbo.sp_start_job N'serv\serv-db-db-1'; GO The agents are still idles and need to be reinitialized. When I reinitialize them and I start agents, the subscription is active and it is sent to the subscriber. That's why I need a command or script to reinitialize the subscription. "Paul Ibison" wrote: > Why do you need to reinitialize if the agents are idle? Surely you mean > start synchronization? In this case it'd be just running the distribution > agents and setting up a relevant schedule. If you want this to be as short > as possible you can set up the "-Continuous" flag. > HTH, > Paul Ibison >
From: I would like a replication that not ex on 21 Mar 2010 12:56 But how can I reinitialize my subscription with a command SQL. Please could you give me the corresponding command? "Paul Ibison" wrote: > You need to select the option to reinitialize your subscription. After that > you'll need to run the snapshot agent and then the distribution agent. > Starting a job won't be sufficient. > HTH, > Paul Ibison >
From: I would like a replication that not ex on 23 Mar 2010 13:40 Thanks a lot it works. "Paul Ibison" wrote: > sp_reinitsubscription: > http://msdn.microsoft.com/en-us/library/aa239377(SQL.80).aspx > HTH, > Paul Ibison >
|
Pages: 1 Prev: Merge Replication Email Notification on error Next: Replicating from SQL 2000 to SQL 2008 |