Can someone please tell me how I can connect two databases at once? I need to get two sets of data for a conversion we are doing.
db1 and db2 are the names. I thought I would do:
select * from db1.table1 as table1 inner join db2.table2 as table2 on table2.column = table1.table1.column
Any help would be great. Thanks