Solved

Row handle referred to a deleted row or a row marked for deletion.

Posted on 2010-09-01
3
2,113 Views
Last Modified: 2012-06-22
HI, I am working with linked servers and getting the error "Row handle referred to a deleted row or a row marked for deletion." Actually, the full error is
OLE DB provider "SQLNCLI10" for linked server "..." returned message "Row handle referred to a deleted row or a row marked for deletion.". [SQLSTATE 01000] (Error 7412).  The step failed.
So my destination server is failing with that error. The step it's failing on is a stored procedure on the "source" server that carries out many updates , inserts and deletes on the destination server. I am not getting this error all the time but often enough. What does this error mean and how can I resolve it?

Thank you.
0
Comment
Question by:AlizaN
3 Comments
 
LVL 1

Expert Comment

by:revteam
ID: 33583793
Need to check the dependent triggers or function on the tables
0
 
LVL 1

Author Comment

by:AlizaN
ID: 33586600
Check them for what?
0
 
LVL 39

Accepted Solution

by:
lcohan earned 500 total points
ID: 37096377
Considering the comments:

"The step it's failing on is a stored procedure on the "source" server that carries out many updates , inserts and deletes on the destination server."

In my opinion the issue you are having is caused by a slow "source" environment and from the little details posted above I suggest to lower the batch size you process in one cycle. Other thing to do at both source and destination - at least UPDATE SATTISTICS table_name for all tables having heavy INSERTs/DELETs and optimize as much as you can the SQL code, add missing (if any) indexes.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now