You can implement replication from a Microsoft® SQL Server™ version 7.0 Publisher/Distributor to a SQL Server 6.5 Subscriber using either SQL Server Enterprise Manager or stored procedures. Both creating the publication and creating the subscription are subject to certain restrictions.
When you create a SQL Server 7.0 publication that has SQL Server 6.5 subscriptions, the following restrictions apply:
Prior to creating a subscription from a SQL Server 7.0 Publisher to a SQL Server 6.5 Subscriber, you must run Replp70.sql at the Subscriber, and then execute sp_addpublisher70 at the Subscriber. sp_addpublisher70 registers the SQL Server 7.0 Publisher at the SQL Server 6.5 Subscriber (a necessary step for SQL 6.x replication). Replp70.sql is located in the \Mssql7\Install directory. sp_addpublisher70 takes two parameters: @publisher and @dist_account. @publisher is the name of the SQL Server 7.0 Publisher. @dist_account is the domain account name that SQL Server Agent runs under at the SQL Server 7.0 Distributor. For example, the syntax may look as follows:
EXEC sp_addpublisher70 'PUBSERV', 'REDMOND\repladmin'
It is also necessary to enable a SQL Server 6.5 subscribing database for replication. This can be done through the SQL Server Enterprise Manager 6.5, or by executing:
EXEC sp_dboption <dbname>, 'subscribed', true
SQL Server 7.0 replication supports push subscriptions to SQL Server 6.5 servers, but does not support pull subscriptions from SQL Server Enterprise Manager 6.5. To configure a push subscription to a SQL Server 6.5 Subscriber, you must first register the Subscriber at the Publisher. You can do this using the SQL Server Enterprise Manager 7.0, or executing sp_addsubscriber.
To enable a Subscriber
Note Registering the Subscriber also adds an entry in the console tree of SQL Server Enterprise Manager 7.0. This addition is for replication purposes only, and you cannot administer the SQL Server 6.5 installation using SQL Server Enterprise Manager 7.0. If you click the SQL Server 6.5 installation in the console tree, the following warning message is returned (and can be ignored for replication purposes):
A connection could not be established to CHRISMOF_DEC - [SQL-DMO]SQL Server <SERVER NAME> must be upgraded to version 7.0 or later to be administered by this version of SQL-DMO.
To add a push subscription
Note When using the Push Subscription Wizard, you cannot choose the option to browse databases at the Subscriber.
Unicode Data | sp_addarticle |
uniqueidentifier | sp_addpublisher70 |
Using the Create Publication Wizard | sp_addsubscriber |