Re: Could not allocate ancillary table for view resolution

From: Steve Kass (skass_at_drew.edu)
Date: 05/02/04

  • Next message: anonymous_at_discussions.microsoft.com: "Re: Calculated field in a calculation."
    Date: Sun, 02 May 2004 17:00:45 -0400
    
    

    Perhaps a view definition changed, or the query plan changed because of
    a change in the underlying data. Perhaps the query or the views it
    refers to are more complicated than they need to be and could be
    simplified. If you post the query and the related definitions of tables
    and view, perhaps there will be something obvious to simplify, or it may
    point to a problem elsewhere. In any case, this is a limitation of the
    SQL Server engine, and if there is a query with more than 256 references
    to tables, it will fail.

    Steve Kass
    Drew University

    anonymous@discussions.microsoft.com wrote:

    >>-----Original Message-----
    >>I am receiving this error when running a query:
    >>
    >>Server: Msg 4414, Level 16, State 1, Line 1
    >>Could not allocate ancillary table for view resolution.
    >>The maximum number of tables in a query (256) was
    >>exceeded.
    >>
    >>I have found the error in the knowledge base but only for
    >>SQL Server 2000, we are still using SQL Server 7.0. It
    >>was running fine about 3 weeks ago; I hadn't made any
    >>changes to the query, and suddenly this happened. I have
    >>already rebooted the server. Does anyone know where this
    >>message could be coming from or how to fix it?
    >>
    >>Thank you,
    >>Sassgirl
    >>.
    >>
    >>
    >>


  • Next message: anonymous_at_discussions.microsoft.com: "Re: Calculated field in a calculation."

    Relevant Pages

    • RE: Access database crashes trying to save query
      ... remove the Switch statement from up in the Select clause. ... You could simplify things by using an alias for your table like so. ... "chris" wrote: ... > When running the following query in Access 2002, I am able to see my results ...
      (microsoft.public.access.queries)
    • RE: Setting prompted value to a fariable in SQL
      ... Sorry for the confusion I tried to simplify the code and I didn't do a good ... It is a make table query that counts ... I was hoping to prompt the user for the ... simplified example of what I am trying to accomplish ...
      (microsoft.public.access.modulesdaovba)
    • Re: Need someone to look at SQL statement
      ... Simplify! ... I think you would have this error with just the middle SELECT query by ... in the WHERE clause you reference [PolicyNumber] without ... >could refer to more than one table used in the FROM clause of your SQL ...
      (microsoft.public.access.queries)
    • Please Help with creating (what I call) a Dynamic Query
      ... I am calling a query from a form that retrieves a value from a list box ... AccountNo Month ... (I've replaced my list box=Prd with just "2" to simplify things) ... I think I need some criteria in my dlookup function but can't figure out ...
      (microsoft.public.access.queries)
    • Re: Cant figure this out !
      ... Ok, will try to simplify. ... opens with a status of either active or archived records. ... The below code is in the query for the forms employees list and so shows ... Prev by Date: ...
      (microsoft.public.access.forms)