Chapter 7. SQL Remote Design for Adaptive Server Anywhere

Subscribe_by_remote were set to OFF, the result would be that the new Customer is sent back to Marc Dill as a DELETE operation.

As long as Subscribe_by_remote is set to ON, the Message Agent assumes the row belongs to the Sales Rep that inserted it, the INSERT is not replicated back to Marc Dill, and the replication system is intact.

If Subscribe_by_remote is set to OFF, you must ensure that the Policy row is inserted before the Customer row, with the referential integrity violation avoided by postponing checking to the end of the transaction.

119

Page 137
Image 137
Sybase DC38133-01-0902-01 manual SQL Remote Design for Adaptive Server Anywhere