cancel
Showing results for 
Search instead for 
Did you mean: 

Delete a row in a table error

Former Member
2,371

When I try to delete a row in a table, I get an error!

"The selected row could not be delete. Prodcedure or tigger calls have nested too deeply"

Cheers!

Accepted Solutions (0)

Answers (1)

Answers (1)

MarkCulp
Participant

This error occurs if there is a delete trigger on the table which causes another action - e.g. another insert, update, or delete - which causes another trigger or procedure to be called and that trigger/procedure causes another action to occur which causes another trigger/procedure to be called and that trigger/procedure causes another action to occur which .... etc, etc, etc ... until the nesting of calls to triggers or procedures is so deep that the database server go no longer processs the trigger/procedure call.

i.e. you have a run-away recursion in one of your (delete) triggers on the table.

For example, does your delete trigger attempt to delete another row in the same table? (which would then fire the trigger again!)

To resolve the problem, you need to first find the source of the recursion and then determine a way to stop the recursion before the nesting goes too deep.

Former Member
0 Kudos

As an addition to Mark's answer, I'd suggest that you take a look at the stored procedure debugger to help step through the process and figure out where it is going off the rails.