Is there a way to combine records into one table across databases (and on different servers) when using SQL CMD MODE in SSMS?
:Connect Database1
select firstname,lastname from table1
GO
:Connect Database2
select firstname,lastname from table1
GO
:Connect Database3
select firstname,lastname from table1
GO
How can I put all the results in one table?