SQL Query Table Limitation

Posted on 1999-06-30
Medium Priority
Last Modified: 2010-03-19
Microsoft NT Server 4.0 sp4 w/SQL server 6.5 sp2
I use Seagate Crystal Report to design reports with data from the SQL Server.

The problem that I am having is that my report query pulls data from more than 16 tables, and I receive an error that basically displays "too many table names in query. Maximum is 16 tables". I talk with Seagate and they said that this was a Microsoft problem.
Can anyone confirm this and point me to the right article or help me overcome this limitation?
Question by:vmorales
  • 2
  • 2

Expert Comment

ID: 1096048
I can confirm that this is the limit for 6.5.

Not sure about a workaround.  It it possible you could upgrade to 7.0?  The limit there is 256.

Author Comment

ID: 1096049
I do not believe this is possible due to the application using these platform, but I will confirm. If possible I would still like to know if there is a workaround.

Expert Comment

ID: 1096050
Don't know of any workaround. Using views yields the same result. I can only suggest intermediate queries in temp. tables, but that would affect performance and ease of maintenance.

Author Comment

ID: 1096051
This really stinks, Microsoft limiting queries in such a way. Ok I am off my soap box.


Thanks for your comment, but using temp tables and so forth is beyond my current skills. I would spend some time with this but like most people my task list is greater than I can stand.


If you will post an answer I will give you the points, and I appreciate your quick response.

Accepted Solution

mayhew earned 200 total points
ID: 1096052
Good luck with your project.


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

600 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