Microsoft SQL Server replicate data servers

This section describes the replicate database issues and considerations specific to the Microsoft SQL Server data server in a Sybase replication system.

As a replicate data server, Microsoft SQL Server interacts with the DirectConnect for Microsoft SQL Server database gateway. The DirectConnect for Microsoft SQL Server is responsible for accepting commands from the replicate Replication Server, and applying those commands to a Microsoft SQL Server database.

NoteDirectConnect for Microsoft SQL Server supports replication of large object (LOB) datatypes (image, ntext, and text) from Replication Server directly to a Microsoft SQL Server database.

Microsoft SQL Server replicate database permissions

To apply transactions in a replicate database, Replication Server requires a Maintenance User ID that you specify in the Replication Server create connection command. The Maintenance User ID must be defined at the Microsoft SQL Server data server and granted authority to apply transactions in the replicate database. The Maintenance User ID must have the following permissions in the Microsoft SQL Server replicate database:

Replication intrusions and impacts in Microsoft SQL Server

The only significant intrusions or impacts to the Microsoft SQL Server replicate database are the database objects created by the hds_msss_setup_for_replicate.sql script to support Replication Server replicate database operations.

The hds_msss_setup_for_replicate.sql script creates two tables in the replicate database to support Replication Server operations:

Replicate database connectivity for Microsoft SQL Server

A Replication Server database connection name is made up of two parts: a data server name (server_name) and a database name (db_name). The server_name is the name of the DirectConnect for Microsoft SQL Server database gateway server, and the db_name is the name of the Microsoft SQL Server replicate database.

The replicate Replication Server looks for an interfaces file entry for the database gateway server_name specified in the Replication Server database connection. The replicate Replication Server logs in to the replicate data server using the user_name and password specified in the database connection.

You must make an entry in the Replication Server interfaces file to identify the host and port where the DirectConnect for Microsoft SQL Server database gateway server is listening. The interfaces file entry name must match the server_name portion of the Replication Server database connection.

Replicate database limitations in Microsoft SQL Server

The following replication limitations exist with a Microsoft SQL Server replicate data server:

Microsoft SQL Server replicate database configuration issues

The heterogeneous datatype support (HDS) feature of Replication Server provides a number of sample SQL scripts that help you set up the HDS feature in the replicate Replication Server and the Microsoft SQL Server replicate database. These include:

Microsoft SQL Server system management issues

The following system management issues are specific to a Microsoft SQL Server replicate data server: