Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9182

Re: SAP sybase replication materialize phase error

$
0
0

It seems that you have a typical replication problem:

- 'Attempt to insert duplicate key row in object 'TBTCO' with unique index 'TBTCO~0'

 

You have to check how looks like transaction that makes that problem.

 

 

 

The simplest way is:

# using isql connected to RS

 

 

 

>sysadmin log_first_tran, TSD_sapdr2, TSD -- write first tran to exception log located in RSSD database

>go

>connect -- connect to RSSD

>go

>rs_helpexception -- list all trans in exception log and find the maximum ID of last tran (eg. 101)

>go

>rs_helpexception 101, v

>go

 

Then you will se which record is wrong.

 

So you can decide next or to skip transaction using:

>resume connection to TSD_sapdr2.TSD skip transaction

or you can correct data directly on target database and the resume replication with:

>resume connection to TSD_sapdr2.TSD


Viewing all articles
Browse latest Browse all 9182

Trending Articles



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