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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Union All Query

Status
Not open for further replies.

M8KWR

Programmer
Aug 18, 2004
864
GB
Is there a limit to the number of database with an sql database that you are able to use within a Union All type view query???

What i am trying to do is join about 80ish tables within into 1 view so i can query on this view as a whole in many different way.

I only need to bring over about 6 fields from this specific table.

Many thanks for any assistance in advance.
 
if there is a limit, it depends on which database you're using

there's no limit in ANSI SQL, you could theoretically union as many tables as you wish

r937.com | rudy.ca
 
For example i used access to union select tables together and that has a limit (says query to complex), then what i did was to create multiple query and then union then ll together within another query....

Would this work within a view with SQL enterprise manager.

I'm assuming it will, but just want to check before i write all the sql coding.....

Many thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top