0

hello,

I have a situation that i'm wondering if there's a solution. I have specific databases for different cities in texas. I plan on adding more but i do not nkow how many more or what their names will be. Every city is going to have the same tables in them. I want to UNION all the similar tables in every database. Is it possible to query every database.specifictable without knowing the names of all of the databases yet.

Thanks in advance

Edited by RazorRamon: spelling

2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by pritaeas
0

You can build your query, based on the output of the SHOW DATABASES query. Note that this can get real slow.

This article has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.