Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Union Query 1

Status
Not open for further replies.

IANGRAND

Technical User
Jul 29, 2003
92
GB
Is there a limit to the number of records that can be merged though a union query?

Currently i have the following error occuring:

"System Resource Exceeded
 
I don't think there is an issue with the number of records. When you get an error executing a query it is helpful to post the SQL so we can see it. You might want to try use "UNION ALL" rather than "UNION". I have hit limits on the number of UNIONs in the query.

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
dhookom,

thanks for this post - I was running into limits using a Union qry in a db recently upgraded to SQL Server. Using UNION ALL solved my problem. Have a Star!!


Greatefully,
-Keith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top