Question
June 3, 2008 at 02:59 AM
phil.greenaway

Querying a large number of Identical SQL Databases on one server

by phil.greenaway . Updated 18 years, 2 months ago

I need to query in excess of 100 SQL Databases. All the databases have the same structure and all are on the same server. I know I could write a query per database and union the result of each query but this in not practical. How can I get SQL to loop through one set and query each database.

This discussion is locked

All Comments