Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 25th, 2006, 07:57 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default UNION query.

Hi,
How many number of query can be written in union query?
Is there any limitation i.e. say 250 query can be union together or not?

Thanks in advance.

Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
 
Old April 26th, 2006, 03:33 AM
Authorized User
 
Join Date: Mar 2006
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
there are following limitation:
1) Number of enforced relationships - 32 per table minus the number of indexes that are on the table for fields or combinations of fields that are not involved in relationships
2) Number of tables in a query - 32
3) Number of fields in a recordset - 255
4) Recordset size - 1 gigabyte
5) Sort limit - 255 characters in one or more fields
6) Number of levels of nested queries - 50
7) Number of characters in a cell in the query design grid - 1024
8) Number of characters for a parameter in a parameter query - 255
9) Number of ANDs in a WHERE or HAVING clause - 99
10) Number of characters in an SQL statement - Approximately 64,000

Peko


 
Old April 27th, 2006, 08:27 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default

all is fine ,,but didn't get anser of my query....

How many number of query can be written in union query?


Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
 
Old April 28th, 2006, 02:49 AM
Authorized User
 
Join Date: Mar 2006
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
you are limited by number of used tables (32) in query string.
So, if you use one table per one query, then you may type 32 queries united by UNION clause.
Peko






Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Parameter in a Union Query bright_mulenga Access VBA 8 January 25th, 2008 08:13 AM
Date Parameter in a Union Query bright_mulenga Access VBA 0 January 17th, 2008 03:52 AM
Union query in Access?? lisabb Access 5 October 24th, 2007 10:04 PM
UNION QUERY Help Corey Access 1 October 27th, 2006 05:29 PM
Error on Make-Table Query In Union Query rylemer Access 1 August 20th, 2003 07:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.