Sybase SQL Remote DC38133-01-0902-01 User Manual

Page of 485
prevent every column from being listed in the SET clause of the update.
Text and image columns
Replication Server does not accept TEXT or IMAGE columns in the primary
key of a replication definition. You should include all the columns except for
the TEXT and IMAGE columns in the PRIMARY KEY list of your
replication definition, and specify all the TEXT and IMAGE columns in the
ALWAYS_REPLICATE clause. You should use REPLICATE ALL
COLUMNS, instead of REPLICATE MINIMAL COLUMNS in your
replication definition. This forces Replication Server to send the pre-image
of the TEXT and IMAGE columns to the SQL Remote Open Server
whenever an update occurs.
Using the
dsi_sql_data_style data
style
Replication Server 11.5 has a new dsi_sql_data_style for SQL Remote.
This data style automatically includes all columns in the WHERE clause of
every UPDATE. It is not necessary to list all columns in the PRIMARY KEY
of the replication definition. A replication definition using REPLICATE
MINIMAL COLUMNS prevents Replication Server from keeping the full
pre-image of rows being updated, so the SQL Remote dsi_sql_data_style
will not work with REPLICATE MINIMAL COLUMNS.
Suspend and restart the connection
After configuring the Replication Server connection to the SQL Remote
Open Server, you should suspend and resume the connection so that the
parameter settings can take effect. The following commands accomplish this
task:
suspend connection to ssqueue_server
go
resume connection to ssqueue_server
go
286