The query cannot be completed. Either the size of the query result is larger than the

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • urooj sabar
    New Member
    • Dec 2012
    • 2

    The query cannot be completed. Either the size of the query result is larger than the

    when i try to run a query having name field from 5 different tables it gives following error.
    "The query cannot be completed. Either the size of the query result is larger than the maximum size of a database (2 GB), or there is not enough temporary storage space on the disk to store the query result."

    how can i solve it?
    thank you.
  • zmbd
    Recognized Expert Moderator Expert
    • Mar 2012
    • 5501

    #2
    You select a smaller number of records to return or you increase the amount of physical memory in the PC and on the harddrive. Which one depends on which one caused the issue.

    Comment

    • urooj sabar
      New Member
      • Dec 2012
      • 2

      #3
      Thank you..!! i'll go for the first one :)

      Comment

      • TheSmileyCoder
        Recognized Expert Moderator Top Contributor
        • Dec 2009
        • 2322

        #4
        You would have to track down the issue. How large is your db currently? Unless your bringing massive amounts of data together or have a 5 tables which are not linked together (which cause multiplication of returned results) I don't usually see anyone hitting the 2gb limit. Are you returning alot of fields? Desribe your query, describe the fields.

        Comment

        • NeoPa
          Recognized Expert Moderator MVP
          • Oct 2006
          • 32645

          #5
          I think the first thing you do, even before posting your question, is to put together the basic relevant information to make the question a sensible one. The very least that would include is an explanation of what your query is attempting to do and the SQL you are using that causes the error. Posting a question without that information is a very strange approach.

          Comment

          Working...