Quantcast
Channel: SCN: Message List - SAP Replication Server
Viewing all articles
Browse latest Browse all 876

Re: Replicate SELECT reserve_identity within a Stored Procedure in a warm standby setup

$
0
0

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


Viewing all articles
Browse latest Browse all 876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>