Anda harus menentukan nama database sebelum objek database apa pun.
Basis data tunggal:
SELECT * FROM [dbo].[myTable]
Beberapa basis data:
SELECT * FROM [DB01].[dbo].[myTable]
UNION ALL
SELECT * FROM [DB02].[dbo].[myTable]
UNION ALL
SELECT * FROM [DB03].[dbo].[myTable]