Du skal angive databasenavnet før ethvert databaseobjekt.
Enkelt database:
SELECT * FROM [dbo].[myTable]
Flere dabaser:
SELECT * FROM [DB01].[dbo].[myTable]
UNION ALL
SELECT * FROM [DB02].[dbo].[myTable]
UNION ALL
SELECT * FROM [DB03].[dbo].[myTable]