sql multiple databases

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have two tables in different servers that i need to do a join on:

Server1:
employees1
-employeeID

Server2:
employee2
-employeeID

How do i do do a select from both servers?
Select employee1.lastname, employee2.lastname
FROM employee1, employee2
WHERE employee1.employeeID = employee2
 
Back
Top