Microsoft® SQL Server™ supports replication to heterogeneous data sources that provide 32-bit ODBC or OLE DB drivers on Microsoft Windows NT® and Microsoft Windows® 95. Heterogeneous Subscribers to SQL Server include:
The simplest way to publish data to a heterogeneous Subscriber is by using ODBC and creating a push subscription from the Publisher to the ODBC Subscriber. As an alternative, however, you can also create a publication and then create an application with an embedded distribution control. The embedded control implements the pull subscription from the Subscriber to the Publisher. For ODBC Subscribers, the subscribing database has no administrative capabilities regarding the replication being performed.
To publish to heterogeneous Subscribers
ODBC drivers and OLE DB providers for various heterogeneous data sources are included on the SQL Server compact disc. For information about a complete list of the ODBC drivers and OLE DB providers, see Driver Support for Heterogeneous Data Sources.
SQL Server provides the following stored procedures and extended stored procedures to support replication to ODBC Subscribers.
Procedure | Description |
---|---|
sp_enumdsn | Reports all defined ODBC DSNs for a server running under a specific Windows NT user account. |
sp_dsninfo | Retrieves ODBC DSN information from the replication Distributor associated with the current server, if replication is installed. |
Note SQL Server Enterprise Manager (the recommended tool) uses these stored procedures automatically to set up replication to ODBC Subscribers. Use these stored procedures directly only if you are not using SQL Server Enterprise Manager.
The following restrictions apply to replication to heterogeneous Subscribers: