Replication

SQL Server 7.0 Publisher/Distributor to SQL Server 6.5 Subscriber

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.

Creating a Publication

When you create a SQL Server 7.0 publication that has SQL Server 6.5 subscriptions, the following restrictions apply:

Creating a Subscription

Before 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 \Microsoft SQL Server\Mssql\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 in SQL Server 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 in SQL Server 7.0, or executing sp_addsubscriber.

Note  Subscribers running SQL Server 6.5 do not support nullable bit columns, so NULL values in bit columns published by a Publisher running SQL Server 7.0 or SQL Server 2000 cannot be represented at the Subscriber. If you have Subscribers running SQL Server 6.5 and you need to use nullable bit columns, use custom stored procedures to change incoming NULL values to 0.