Yes, but you need to explicitly list them all:
SELECT COl1,Col2,Col3 FROM Database1.schema.Table1 UNION ALL SELECT COl1,Col2,Col3 FROM Database2.schema.Table1 UNION ALL SELECT COl1,Col2,Col3 FROM Database3.schema.Table1 UNION ALL ....... ... SELECT COl1,Col2,Col3 FROM Database200.schema.Table1
This is what I would just like to create in Excel and paste into SSMS.
Then you may need to reconsider whether it is good to have this project in 200 databases.
source share