There are several requirements for Replication Server support for Adaptive Server predicated privileges.
Adaptive Server 15.7 ESD #2 includes predicated privileges. Replication Servers in a mixed-version environment support predicated privileges.
To use predicated privileges in a replication system, the maintenance user on the replicate Replication Server must have nonpredicated privileges on the replicate tables and databases.
See Predicated Privileges in the Adaptive Server Enterprise 15.7 ESD #2 New Features Summary.
Executing a replicated stored procedure on the primary database by a user with predicated privileges for the DML statements in the procedure, may cause inconsistency between the primary and replicate data.
grant update on accounts to Marc (1) where owner = ‘Marc’
create procedure balance_limit as update accounts set balance = 0 where balance < 0
update accounts Marc set balance = 0 where balance < 0 and owner = ‘Marc’
update accounts Marc set balance = 0 where balance < 0
In this example, the SQL statement executed at the primary database is different from the statement executed at the replicate database, resulting in an inconsistency between replicate and primary data.