Tip

Heterogeneous data replication using SQL Server

There are some good reasons why you may want to explore using heterogeneous replication, but the best reason is that it allows an administrator to offer SQL Server to clients whose companies have a critical investment in other data systems.

SQL Server lets you replicate data from any source that you can link to with a 32-bit ODBC driver. For Windows 2000, NT and even Windows 98 you can use an OLE DB driver instead. Thus you can use SQL Server to replicate data sources as diverse as DB2 AS400, DB2/MVS, Oracle, Exchange and Access. You can also

    Requires Free Membership to View

replicate data between different versions of SQL Server and even with SQL Server for Windows CE.

To publish heterogeneous data using either ODBC or OLE DB you would apply a push subscription to the subscriber from the publisher. Subscribers can be any of the aforementioned data sources. You can also have SQL Server subscribe to replicated data from these heterogeneous sources.

Replication can be published as a snapshot or as a set of transactional records. You might want to use this scheme when you are using SQL Server as an analysis tool in data warehouses. SQL Server can collect all of the records by replication and then either send the data to a consolidated data warehouse or mart, or use the data as a multidimensional database with the SQL Server Analysis Services.

If you implement a heterogeneous replication scheme you will need to program the Replication Distributor Interface using SQL-DMO or use a third party application for that purpose. To review how to program replication using heterogeneous data sources and various programming options you may want to consult Microsoft's MSDN explanation here.


Barrie Sosinsky is president of consulting company Sosinsky and Associates (Medfield, Mass.). He has written extensively on a variety of computer topics. His company specializes in custom software (database and Web related), training and technical documentation.

This was first published in February 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.