SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Im working with an application on SharePoint 2007, I encountered an issue where the list item unable to view.

It hit error 1309 "Some part of your SQL statement is nested too deeply. Rewrite the query or break it up into smaller queries"

In addition, how can get to know the SQL query structure? how the SQL statement was nested too deeply.

how can I solve this issue?

Thank you in advanced.

share|improve this question

Does your list have workflows attached? May be the workflow history list is creating the problem for you too.

Its kind of a known issue in SharePoint 2007 if its workflow problem. Read this article for a clear understanding.

And another update for this issue is that it might occur for only sites having 'Publishing feature' enabled. (Note: its the site feature and not the SharePoint Publishing Infrastructure site collection feature).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.