Need help figuring out relation of table to sequence number.

  • I am getting an error (20598) row not found.  I am given a transaction sequence number and I need find its related table/row.  Anyone have any hints on this?

     

    Thanks.

  • Is the full error message "The row was not found at the Subscriber when applying the replicated command." I didn't have a clue what you were talking about until I checked sysmessages and realised it was a replication error.

    You could profile the subscriber and see what command the distribution agent is trying to apply.

    If you check the MSrepl_commands table in the distribution db, you can tie an xact_seqno to an article id and a publisher database id.

    If you go to the publisher database and query sysarticles, you'll get the table name

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply