Hi Yvan,
Thanks for your suggestion.
The next value of IDENTITY is fetched inside a stored procedure using SELECT statement.
Example:
1. select @myKey = convert( numeric(20,0), reserve_identity( 'mydb..myTran', 1 ) )
2. select @myLogId = reserve_identity( 'mydb..myLog', 1 )
The logic of the stored procedure is not allowed to be modified.
The database is setup in a warm standby replication using SAP SRS.
So in order to replicate the result of SELECT ( example above ), one way is to replicate the stored procedure.
Thanks & Regards,
Shiva