Learn how to a build a cloud-first strategyRegister Now


SQL Server replication

Posted on 2012-08-30
Medium Priority
Last Modified: 2012-09-08
Is there a way for subscriber to start replication automaticly after publisher created distribution?
Question by:jem1662
  • 2
  • 2
LVL 28

Expert Comment

by:Ryan McCauley
ID: 38366420
There's no way I'm aware of that you can have a subscriber "poll" for a new subscription and pick it up automatically once it's ready.

However, you could script the T-SQL to start replication and schedule it to run every few minutes on the subscriber (have it check to make sure replication isn't already started first). That way, the client can pick it up as soon as it's ready.

Would that work for your needs?

Author Comment

ID: 38366515
Thank You.  Let me try it.  By any chance, do you know of any third party tools that can do replication?
LVL 28

Accepted Solution

Ryan McCauley earned 2000 total points
ID: 38368415
Are you talking about third-party replication rather than native SQL replication? If so, we use a tool called Goldengate (recently purchased by Oracle) - it was originally designed to replicate between databases of different types (TandemNSK -> MSSQL, for example), but it can replicate MSSQL<->MSSQL, Oracle, or pretty much whatever else you want. It's a bit pricey, but there was no other tool we could use to replicate data out of our NSK, so the price was justified.

As for third party tools controlling native SQL replication, I've never used anything like that.

Author Closing Comment

ID: 38379790
Thank You

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question