Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Oracle Publication Truncated Commands in sp_browsereplcmds

$
0
0

I have set up an Oracle transactional publication on a single table as a test. Snapshot works ok so i assume we have good data mapping. However the replication is failing on update. When i try to view the failing command,  using sp_browsereplcmds, it is truncated. .

sp_MSupd_BULLPERSON" (62,'Mr','FRANK','Q','SPENCER',12345,NULL,'678910','M','1939-09-13 00:00:00','M',NULL,NULL,NULL,NULL,'2013-01-18 14:10:36',NULL,NULL,NULL,NULL,NULL,'   --missing parameters here.

This makes it impossible to test the sp_MSupd_Table command and isolate any problem field which is causing the update to fail.  If i look directly into theMSrepl_commands table the command is encoded. Looking in the sp_browsereplcmds script i see sp_printstatement @query which i assume translates the coded command - is this truncating the command ?

The error shown in the replication monitor does not reveal which field i need to look at

I created a smaller publication so that the entire update with all parameters is visible. this works fine. For the same update it gives no error. Consequently i don't know it there is an errant data mapping in the larger publication or even if the larger publication is sending a truncated command!

Any help appreciated.  

Z


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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