Owner-qualified object names

Access to replicate tables and stored procedures in a non-Sybase database often requires that the reference to the replicate table or stored procedure be owner-qualified.

For example, suppose the Replication Server Maintenance User defined to apply transactions to an Oracle replicate database is orauser. A replicate insert command to table table1 may fail with a “table not found” error if the owner of table1 is bob. When attempting to find table1, Oracle looks for orauser.table1, not bob.table1. To properly identify the replicate table to be updated, you can:

Owner qualifying with multiple replicate databases

The problem becomes a little more complicated when table1 is to be replicated to more than one replicate database (for example, Oracle replicate table bob.table1). The option of using the with replicate table named clause in the replication definition supports only one replicate table name.

To work around this issue, you must create multiple replication definitions, one for each unique replicate table name required. Then, each subscription must refer to the correct replication definition. Also, each replication definition must use the with replicate table named clause.