Chapter 12 Working with Replication Server
You generate a Replication Server file from a replication process object using the Generate Scripts command from the contextual menu of the object.
All the objects that have a Preview tab in their property sheet can be generated. However, graphically the replication process and the database are the only objects from which you can select the Generate Scripts command.
Note that the Generate Scripts command, from the replication process contextual menu is only available when the replication process is related with databases via data connections.
Generate Scripts command from the database contextual menu
The Generate Scripts command from the database contextual menu does not allow you to directly generate Replication Server files, but rather allow you to generate a script to prepare the replication of tables. This script is to be executed on a connected database at a later time.
When you generate a replication process you also generate all objects with which it is related without distinction (ex: publications, subscriptions, data connections etc.).
When you generate a database you also generate all the scripts included in the Preview tab of its property sheet. They correspond to the objects created in the replication process property sheet. Thus, you notify to the database the objects that will be replicated.
For both objects, you cannot customize the object selection for generation. To do so, you should use the Extended Generation feature.
For more information on the Extended Generation feature to generate a Replication server file, see section Generating for Replication Server.
To generate a Replication Server file for a replication process:
Copyright (C) 2007. Sybase Inc. All rights reserved. |